Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
cdb8efaf
...
cdb8efaff11e2c0c97ccd49d40c6564caf5c9f40
authored
2001-12-18 03:14:54 +0000
by
Sam Roberts
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Avoid a few warnings about unused auto-generated lexer functions.
1 parent
bf2859f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
sieve/addr-lex.l
sieve/sieve-lex.l
sieve/addr-lex.l
View file @
cdb8efa
...
...
@@ -55,6 +55,8 @@ int addrinput(char *buf, int max_size)
extern char *addrptr; /* current position in address string */
int n; /* number of characters to read from string */
(void) addrunput;
n = strlen(addrptr) < max_size ? strlen(addrptr) : max_size;
if (n > 0) {
memcpy(buf, addrptr, n);
...
...
sieve/sieve-lex.l
View file @
cdb8efa
...
...
@@ -133,6 +133,9 @@ static char *fixstr(char *str)
{
char *r, *s = (char *) xmalloc(sizeof(char) * strlen(str));
(void) yy_flex_realloc;
(void) yyunput;
r = s;
str++; /* skip open " */
while (*str != '"') {
...
...
Please
register
or
sign in
to post a comment