Cleaned up some compiler warnings.
This commit is contained in:
parent
b3e8051fcf
commit
5f1084dc4c
1 changed files with 7 additions and 3 deletions
|
|
@ -6818,6 +6818,8 @@ static void get_stamp_thumb(stamp_type *sd)
|
||||||
memcpy(buf+len, ".dat", 5);
|
memcpy(buf+len, ".dat", 5);
|
||||||
ratio = loadinfo(buf, sd);
|
ratio = loadinfo(buf, sd);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
ratio = 1.0;
|
||||||
|
|
||||||
#ifndef NOSOUND
|
#ifndef NOSOUND
|
||||||
// good time to load the sound
|
// good time to load the sound
|
||||||
|
|
@ -8569,8 +8571,10 @@ static void setup(int argc, char * argv[])
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
void signal_handler(int sig)
|
void signal_handler(int sig)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
if (sig == SIGPIPE)
|
if (sig == SIGPIPE)
|
||||||
/* fprintf(stderr, "SIGPIPE!\n") */;
|
fprintf(stderr, "SIGPIPE!\n");
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -14402,9 +14406,9 @@ static void do_print(void)
|
||||||
/* Linux, Unix, etc. */
|
/* Linux, Unix, etc. */
|
||||||
|
|
||||||
if (want_alt_printcommand && !fullscreen)
|
if (want_alt_printcommand && !fullscreen)
|
||||||
pcmd = altprintcommand;
|
pcmd = (char *) altprintcommand;
|
||||||
else
|
else
|
||||||
pcmd = printcommand;
|
pcmd = (char *) printcommand;
|
||||||
|
|
||||||
pi = popen(pcmd, "w");
|
pi = popen(pcmd, "w");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue