wmcalc: Fix -Wunused-result compiler warning.
This commit is contained in:
parent
d5d266d6d1
commit
587fe05cc1
|
@ -521,5 +521,6 @@ void startcalc(void) {
|
|||
if (Verbose)
|
||||
fprintf(stderr, "Starting external calculator %s\n", SysCalcCmd);
|
||||
|
||||
system(SysCalcCmd);
|
||||
if (system(SysCalcCmd) == -1)
|
||||
fprintf(stderr, "%s returned an error.\n", SysCalcCmd);
|
||||
} /***** End of function startcalc *****************************/
|
||||
|
|
Loading…
Reference in a new issue