[gpm] [PATCH 11/18] synaptics-warning.patch

Dmitry Torokhov dtor_core@ameritech.net
Tue Aug 10 08:57:56 CEST 2004


===================================================================


ChangeSet@1.15, 2004-08-10 00:53:24-05:00, dtor_core@ameritech.net
  Suppress harmless warning about unused debug code in synaptics
  driver.


 synaptics.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


===================================================================



diff -Nru a/src/synaptics.c b/src/synaptics.c
--- a/src/synaptics.c	2004-08-10 01:18:00 -05:00
+++ b/src/synaptics.c	2004-08-10 01:18:00 -05:00
@@ -884,6 +884,7 @@
 ** which makes reading the debug data harder, only dump the report if it is different 
 ** than the previously dumped.
 */
+#if DEBUG_REPORTS
 static void tp_dump_report_data (report_type report,
 				 int edges,
 				 Gpm_Event* state) 
@@ -936,7 +937,7 @@
 	      (multi_finger_pressure>4500 && multi_finger_xy>50000? 'f':' '));
 
 }
-
+#endif
 
 /* syn_dump_info
 **


More information about the gpm mailing list