summaryrefslogtreecommitdiff
path: root/src/ResConfig.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-30 18:22:10 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-30 18:22:10 -0200
commitf56a69f2cf7df1e7cdf2494c5408786e53467374 (patch)
treec2b4d72f8bd8af0de6efdccd7ae8e3028c654d08 /src/ResConfig.c
parentc1f227f94aec6f4555182965fc0d2d8f33fef01f (diff)
Janitor: ansification, make distcheck, compiler warnings, .gitignore.
Most "compiler" warnings were actually sparse warnings, due to assigning a integer to a pointer, or an external symbol without a previous declaration.
Diffstat (limited to 'src/ResConfig.c')
-rw-r--r--src/ResConfig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ResConfig.c b/src/ResConfig.c
index 4c2e736..fd6d057 100644
--- a/src/ResConfig.c
+++ b/src/ResConfig.c
@@ -661,6 +661,7 @@ _get_last_part (
*part = XtNewString (loose);
return ('*');
}
+ *part = NULL;
return ('0'); /* error - return 0 */
}