[PATCH] Delete stray ; in struct _DeviceChangedEvent

Alan Coopersmith alan.coopersmith at oracle.com
Sun Feb 9 16:56:40 PST 2014


Caused Solaris Studio cc to complain in every file which included it:
 "../include/eventstr.h", line 179: warning: syntax error:
  empty member declaration

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 include/eventstr.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/eventstr.h b/include/eventstr.h
index 3950584..cce903d 100644
--- a/include/eventstr.h
+++ b/include/eventstr.h
@@ -176,7 +176,7 @@ struct _DeviceChangedEvent {
     struct {
         uint32_t min;           /**< Minimum value */
         uint32_t max;           /**< Maximum value */
-        double value;           /**< Current value */;
+        double value;           /**< Current value */
         /* FIXME: frac parts of min/max */
         uint32_t resolution;    /**< Resolution counts/m */
         uint8_t mode;           /**< Relative or Absolute */
-- 
1.7.9.2



More information about the xorg-devel mailing list