To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81612





------- Additional comments from [EMAIL PROTECTED] Thu Oct  4 20:14:01 +0000 
2007 -------
Ah ....

A better fix then would be to keep the original line
  pid_t nExit = ...
and add an additional line
  (void)nExit;

In fact, nExit is used, but only when debug information is enabled ("dmake
debug=1"). See the #if below the line you changed, and
http://wiki.services.openoffice.org/wiki/Debug_Levels.

So, in a debug build, you would not have got a warning at all. The usual fix for
this kind of "unused" variables is the above
  (void)<varname>;
.

(
Of course, the *complete* solution for nitpickers would be
#if OSL_DEBUG_LEVEL > 1
  pid_t nExit =
#endif
    waitpid( ... );
#if OSL_DEBUG_LEVEL > 1
  fprintf( stderr, ... )
#endif
)

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to