Set encoding to NULL when starting.

Submitted by: eirikald
This commit is contained in:
Øystein Ingmar Skartsæterhagen 2010-05-11 14:20:10 +00:00
parent 92ee5e44e1
commit 31db1ad3ae

View File

@ -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) {