diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-03-18 10:10:32 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-03-18 10:10:32 +0100 |
commit | 05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4 (patch) | |
tree | 898185b02c06b47450c88fc8731cf508c056568d /rcfile_l.l | |
parent | e9c99cb0a353ed18bd7c6ea6e93ec2fea326bbb4 (diff) | |
download | fetchmail-05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4.tar.gz fetchmail-05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4.tar.bz2 fetchmail-05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4.zip |
Fix lots of warnings, most around string literals...
...that were converted to char* when they should have been converted to
const char *.
Use braces for empty if/else statements.
Diffstat (limited to 'rcfile_l.l')
-rw-r--r-- | rcfile_l.l | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -19,6 +19,8 @@ int prc_lineno = 1; #define SETSTATE(n) BEGIN(n) #endif /* LEXDEBUG */ +#define YY_NO_INPUT + %} /* this doesn't work with Linux lex, see the INSTALL file */ @@ -244,7 +246,7 @@ void escapes(const char *cp /** source string with escapes */, * always succeed! */ if (*cp == '\\' && cp[1] && strchr("0123456789xX", cp[1])) { - char *dp; + const char *dp; const char *hex = "00112233445566778899aAbBcCdDeEfF"; int dcount = 0; |