[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:36:15 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 6e9d3709ea4d88472894fc47dc9b60d79ef564be
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 4 21:42:29 2002 +0000

    	Fix unused variable warnings for deployment builds.
    
            * Plugins.subproj/WebPluginView.m: Add ifndef NDEBUG around variable
    	used only in log statements.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1962 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 2ef3587..d61a93b 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,12 @@
 2002-09-04  Darin Adler  <darin at apple.com>
 
+	Fix unused variable warnings for deployment builds.
+
+        * Plugins.subproj/WebPluginView.m: Add ifndef NDEBUG around variable
+	used only in log statements.
+
+2002-09-04  Darin Adler  <darin at apple.com>
+
 	Removed the now-unnecessary iconURL from bookmarks and history.
 
         * Bookmarks.subproj/WebBookmark.h:
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 2ef3587..d61a93b 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,5 +1,12 @@
 2002-09-04  Darin Adler  <darin at apple.com>
 
+	Fix unused variable warnings for deployment builds.
+
+        * Plugins.subproj/WebPluginView.m: Add ifndef NDEBUG around variable
+	used only in log statements.
+
+2002-09-04  Darin Adler  <darin at apple.com>
+
 	Removed the now-unnecessary iconURL from bookmarks and history.
 
         * Bookmarks.subproj/WebBookmark.h:
diff --git a/WebKit/Plugins.subproj/WebPluginView.m b/WebKit/Plugins.subproj/WebPluginView.m
index 149a252..c883e37 100644
--- a/WebKit/Plugins.subproj/WebPluginView.m
+++ b/WebKit/Plugins.subproj/WebPluginView.m
@@ -138,7 +138,10 @@
     if (activate)
         event.modifiers |= activeFlag;
     
-    BOOL acceptedEvent = [self sendEvent:&event]; 
+#ifndef NDEBUG
+    BOOL acceptedEvent =
+#endif
+    [self sendEvent:&event]; 
     
     WEBKITDEBUGLEVEL(WEBKIT_LOG_PLUGINS, "NPP_HandleEvent(activateEvent): %d  isActive: %d\n", acceptedEvent, (event.modifiers & activeFlag));
 }
@@ -171,7 +174,10 @@
     [self getCarbonEvent:&event];
     event.what = getFocusEvent;
     
-    BOOL acceptedEvent = [self sendEvent:&event]; 
+#ifndef NDEBUG
+    BOOL acceptedEvent =
+#endif
+    [self sendEvent:&event]; 
     
     WEBKITDEBUGLEVEL(WEBKIT_LOG_PLUGINS, "NPP_HandleEvent(getFocusEvent): %d\n", acceptedEvent);
     return YES;
@@ -184,7 +190,10 @@
     [self getCarbonEvent:&event];
     event.what = loseFocusEvent;
     
-    BOOL acceptedEvent = [self sendEvent:&event];
+#ifndef NDEBUG
+    BOOL acceptedEvent =
+#endif
+    [self sendEvent:&event]; 
     
     WEBKITDEBUGLEVEL(WEBKIT_LOG_PLUGINS, "NPP_HandleEvent(loseFocusEvent): %d\n", acceptedEvent);
     return YES;
@@ -197,7 +206,10 @@
     [self getCarbonEvent:&event withEvent:theEvent];
     event.what = mouseDown;
 
-    BOOL acceptedEvent = [self sendEvent:&event];
+#ifndef NDEBUG
+    BOOL acceptedEvent =
+#endif
+    [self sendEvent:&event]; 
     
     WEBKITDEBUGLEVEL(WEBKIT_LOG_PLUGINS, "NPP_HandleEvent(mouseDown): %d pt.v=%d, pt.h=%d\n", acceptedEvent, event.where.v, event.where.h);
 }
@@ -209,7 +221,10 @@
     [self getCarbonEvent:&event withEvent:theEvent];
     event.what = mouseUp;
 
-    BOOL acceptedEvent = [self sendEvent:&event];
+#ifndef NDEBUG
+    BOOL acceptedEvent =
+#endif
+    [self sendEvent:&event]; 
     
     WEBKITDEBUGLEVEL(WEBKIT_LOG_PLUGINS, "NPP_HandleEvent(mouseUp): %d pt.v=%d, pt.h=%d\n", acceptedEvent, event.where.v, event.where.h);
 }
@@ -221,7 +236,10 @@
     [self getCarbonEvent:&event withEvent:theEvent];
     event.what = adjustCursorEvent;
 
-    BOOL acceptedEvent = [self sendEvent:&event];
+#ifndef NDEBUG
+    BOOL acceptedEvent =
+#endif
+    [self sendEvent:&event]; 
     
     WEBKITDEBUGLEVEL(WEBKIT_LOG_PLUGINS, "NPP_HandleEvent(mouseEntered): %d\n", acceptedEvent);
 }
@@ -233,7 +251,10 @@
     [self getCarbonEvent:&event withEvent:theEvent];
     event.what = adjustCursorEvent;
 
-    BOOL acceptedEvent = [self sendEvent:&event];
+#ifndef NDEBUG
+    BOOL acceptedEvent =
+#endif
+    [self sendEvent:&event]; 
     
     WEBKITDEBUGLEVEL(WEBKIT_LOG_PLUGINS, "NPP_HandleEvent(mouseExited): %d\n", acceptedEvent);
     
@@ -336,7 +357,10 @@
     EventRecord event;
     
     [self getCarbonEvent:&event withEvent:theEvent];
-    BOOL acceptedEvent = [self sendEvent:&event];
+#ifndef NDEBUG
+    BOOL acceptedEvent =
+#endif
+    [self sendEvent:&event];
     
     WEBKITDEBUGLEVEL(WEBKIT_LOG_PLUGINS, "NPP_HandleEvent(menuForEvent): %d pt.v=%d, pt.h=%d\n", acceptedEvent, event.where.v, event.where.h);
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list