Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1afca8cc
Commit
1afca8cc
authored
Feb 21, 2011
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* movemail.c: Remove unused vars
parent
27d41fb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
lib-src/ChangeLog
lib-src/ChangeLog
+1
-0
lib-src/movemail.c
lib-src/movemail.c
+0
-5
No files found.
lib-src/ChangeLog
View file @
1afca8cc
2011-02-21 Paul Eggert <eggert@cs.ucla.edu>
* movemail.c (main, pop_retr): Rename locals to avoid shadowing.
(progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
Declare file-scope functions and variables static if not exported.
This is more consistent, and is nicer with gcc -Wstrict-prototypes.
...
...
lib-src/movemail.c
View file @
1afca8cc
...
...
@@ -672,11 +672,6 @@ xmalloc (unsigned int size)
#define OK 0
#define DONE 1
static
char
*
progname
;
static
FILE
*
sfi
;
static
FILE
*
sfo
;
static
char
ibuffer
[
BUFSIZ
];
static
char
obuffer
[
BUFSIZ
];
static
char
Errmsg
[
200
];
/* POP errors, at least, can exceed
the original length of 80. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment