Set encoding to NULL when starting.
Submitted by: eirikald
This commit is contained in:
parent
92ee5e44e1
commit
31db1ad3ae
@ -65,7 +65,7 @@ main(int argc, char **argv)
|
||||
int action = 0, c;
|
||||
char *dbname = NULL, *owner = NULL;
|
||||
char _dbname[1024], _owner[1024];
|
||||
char *encoding, _encoding[1024];
|
||||
char *encoding = NULL, _encoding[1024];
|
||||
|
||||
while ((c = getopt(argc, argv, "hadlu:o:E:")) != -1) {
|
||||
switch (c) {
|
||||
|
Reference in New Issue
Block a user