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