summaryrefslogtreecommitdiff
path: root/src/TMparse.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/TMparse.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/TMparse.c')
-rw-r--r--src/TMparse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/TMparse.c b/src/TMparse.c
index 25522fb..43ee8c9 100644
--- a/src/TMparse.c
+++ b/src/TMparse.c
@@ -1533,7 +1533,7 @@ static String ParseEventSeq(
while ( *str != '\0' && !IsNewline(*str)) {
static Event nullEvent =
- {0, 0,0L, 0, 0L, 0L,_XtRegularMatch,FALSE};
+ {0, 0,NULL, 0, 0L, 0L,_XtRegularMatch,FALSE};
EventPtr event;
ScanWhitespace(str);
@@ -1836,6 +1836,7 @@ static String ParseTranslationTableProduction(
ActionPtr *actionsP;
String production = str;
+ actionsP = NULL;
str = ParseEventSeq(str, &eventSeq, &actionsP,error);
if (*error == TRUE) {
ShowProduction(production);