[Libreoffice-commits] .: sal/osl
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Feb 15 02:06:52 PST 2011
sal/osl/w32/diagnose.c | 2 +-
sal/osl/w32/util.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit cf78e9b2b8df4e9f9cdfbcb914fc823ba104bac5
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Feb 15 10:00:28 2011 +0000
clear some windows warnings
diff --git a/sal/osl/w32/diagnose.c b/sal/osl/w32/diagnose.c
index a95b107..1c44fbf 100644
--- a/sal/osl/w32/diagnose.c
+++ b/sal/osl/w32/diagnose.c
@@ -180,7 +180,7 @@ sal_Int32 SAL_CALL osl_reportError(sal_uInt32 nType, const sal_Char* pszMessage)
// display the assert
nDisposition = MessageBox(hWndParent, pszMessage, "Exception!", nFlags);
-
+ (void)nType; //unused, but part of public API/ABI
return nDisposition;
}
diff --git a/sal/osl/w32/util.c b/sal/osl/w32/util.c
index 6a70c55..ebf5a43 100644
--- a/sal/osl/w32/util.c
+++ b/sal/osl/w32/util.c
@@ -32,6 +32,7 @@
extern sal_Bool SAL_CALL osl_getEthernetAddress( sal_uInt8* pAddr )
{
+ (void)pAddr; //unused, but part of the API/ABI
return sal_False;
}
More information about the Libreoffice-commits
mailing list