[Libreoffice] [Pushed] unused variables in ./sal/osl/unx/util.c

Michael Meeks michael.meeks at novell.com
Fri Nov 26 02:13:36 PST 2010

On Thu, 2010-11-25 at 23:06 +0100, Julien Nabet wrote:
> Here is a small patch for ./sal/osl/unx/util.c

	Did you compile this ? you removed a number of variables:

-    int i;
-    int so;

	that the code goes on to use (unless you're using Solaris):

    so = socket(AF_INET, SOCK_DGRAM, 0);	

	eg. Anyhow - I moved the decls into the conditionals, and replaced the
removed fprintf's with OSL_TRACEs that can be rather useful; seems to
compile for me now.



 michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot

More information about the LibreOffice mailing list