[dia] [warningectomy] expression result unused
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [warningectomy] expression result unused
- Date: Sun, 6 Apr 2014 13:35:11 +0000 (UTC)
commit cf32fccb746aa4db4d19895ce3e2a74e3f98b282
Author: Hans Breuer <hans breuer org>
Date: Sat Apr 5 22:00:14 2014 +0200
[warningectomy] expression result unused
plug-ins/wmf/wmf.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/wmf/wmf.cpp b/plug-ins/wmf/wmf.cpp
index cc55892..ff752a9 100644
--- a/plug-ins/wmf/wmf.cpp
+++ b/plug-ins/wmf/wmf.cpp
@@ -235,8 +235,9 @@ DonePen(WmfRenderer* renderer, W32::HPEN hPen)
}
}
+static void _nada(WmfRenderer*, const char*, ...) { }
#ifndef HAVE_LIBEMF
-# define DIAG_NOTE /* my_log */
+# define DIAG_NOTE _nada
#else
# define DIAG_NOTE my_log
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]