[PATCH 11/18] synaptics-warning.patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


ChangeSet@xxxx, 2004-08-10 00:53:24-05:00, dtor_core@xxxxxxxxxxxxx
  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
 **
_______________________________________________
gpm mailing list
gpm@xxxxxxxxxxxxxx
http://lists.linux.it/listinfo/gpm

[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Gimp]     [Yosemite News]