fix a warning during sfctool build
This commit is contained in:
@@ -1385,7 +1385,9 @@ void
|
||||
restore_msghistory(NHFILE *nhfp)
|
||||
{
|
||||
int msgsize = 0;
|
||||
#ifndef SFCTOOL
|
||||
int msgcount = 0;
|
||||
#endif
|
||||
char msg[BUFSZ];
|
||||
|
||||
while (1) {
|
||||
@@ -1398,8 +1400,8 @@ restore_msghistory(NHFILE *nhfp)
|
||||
msg[msgsize] = '\0';
|
||||
#ifndef SFCTOOL
|
||||
putmsghistory(msg, TRUE);
|
||||
#endif /* !SFCTOOL */
|
||||
++msgcount;
|
||||
#endif /* !SFCTOOL */
|
||||
}
|
||||
#ifndef SFCTOOL
|
||||
if (msgcount)
|
||||
|
||||
Reference in New Issue
Block a user