summaryrefslogtreecommitdiffstats
path: root/runtime/ctok.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-06-27 10:10:47 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-06-27 10:10:47 +0200
commitd4518082362afebef9400bcbf46e38228de83bf1 (patch)
tree2c33a18b7a5b45832bdf945d3ba7819404135760 /runtime/ctok.c
parentb5faa3c4cef4d8a076a2de9953806ea90c9052d7 (diff)
downloadrsyslog-d4518082362afebef9400bcbf46e38228de83bf1.tar.gz
rsyslog-d4518082362afebef9400bcbf46e38228de83bf1.tar.xz
rsyslog-d4518082362afebef9400bcbf46e38228de83bf1.zip
reduced number of compile warnings in -pedantic gcc mode
Diffstat (limited to 'runtime/ctok.c')
-rw-r--r--runtime/ctok.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ctok.c b/runtime/ctok.c
index 11951d28..ceab15bd 100644
--- a/runtime/ctok.c
+++ b/runtime/ctok.c
@@ -512,7 +512,7 @@ ctokGetToken(ctok_t *pThis, ctok_token_t **ppToken)
/* push c back, higher level parser needs it */
CHKiRet(ctokUngetCharFromStream(pThis, c));
pToken->tok = ctok_FUNCTION;
- // TODO: fill function name
+ /* TODO: fill function name */
} else { /* give up... */
dbgprintf("parser has an invalid word (token) '%s'\n", szWord);
pToken->tok = ctok_INVALID;
@@ -527,7 +527,7 @@ ctokGetToken(ctok_t *pThis, ctok_token_t **ppToken)
dbgoprint((obj_t*) pToken, "token: %d\n", pToken->tok);
finalize_it:
-//dbgprintf("ctokGetToken, returns %d, returns token %d, addr %p\n", iRet, (*ppToken)->tok, &((*ppToken)->tok));
+/*dbgprintf("ctokGetToken, returns %d, returns token %d, addr %p\n", iRet, (*ppToken)->tok, &((*ppToken)->tok));*/
if(iRet != RS_RET_OK) {
if(pToken != NULL)
ctok_token.Destruct(&pToken);