mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
PrintTopics.c: fix up some warnings
This commit is contained in:
parent
2c162726c7
commit
57ac9e33f9
1 changed files with 4 additions and 2 deletions
|
@ -61,6 +61,7 @@ $COPYRIGHT$:
|
||||||
#endif
|
#endif
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
#include "HelpPrintI.h" /* helpprint */
|
#include "HelpPrintI.h" /* helpprint */
|
||||||
|
|
||||||
|
@ -1354,7 +1355,7 @@ int PrintHeadFootStr(
|
||||||
free(formattedStr);
|
free(formattedStr);
|
||||||
|
|
||||||
/*** output the str ***/
|
/*** output the str ***/
|
||||||
fprintf(topicsFP,buf);
|
fprintf(topicsFP, "%s", buf);
|
||||||
|
|
||||||
return lineCnt;
|
return lineCnt;
|
||||||
} /*$END$*/
|
} /*$END$*/
|
||||||
|
@ -2484,9 +2485,10 @@ int DoHelpTopicsProcessing(
|
||||||
/* only do the operation if there are valid files */
|
/* only do the operation if there are valid files */
|
||||||
if (validFile)
|
if (validFile)
|
||||||
{
|
{
|
||||||
|
int rv;
|
||||||
sprintf(next,"> %s", *ret_resultsFile);
|
sprintf(next,"> %s", *ret_resultsFile);
|
||||||
if(options->debugHelpPrint) printf("%s\n",buf);
|
if(options->debugHelpPrint) printf("%s\n",buf);
|
||||||
system(buf);
|
rv = system(buf);
|
||||||
}
|
}
|
||||||
free(buf);
|
free(buf);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue