Author: buzzdee
Date: Tue May 26 19:08:41 2015
New Revision: 38567

URL: http://svn.gna.org/viewcvs/gnustep?rev=38567&view=rev
Log:
Remove some extra parameters from debug outputs

OK Fred Kiefer


Modified:
    libs/gui/trunk/ChangeLog
    libs/gui/trunk/Source/NSTextContainer.m
    libs/gui/trunk/Source/NSView.m

Modified: libs/gui/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/ChangeLog?rev=38567&r1=38566&r2=38567&view=diff
==============================================================================
--- libs/gui/trunk/ChangeLog    (original)
+++ libs/gui/trunk/ChangeLog    Tue May 26 19:08:41 2015
@@ -1,3 +1,9 @@
+2015-05-26: Sebastian Reitenbach <[email protected]>
+
+       * Source/NSView.m
+       * Source/NSTextContainer.m
+         remove unused parameters from debug outputs
+
 2015-05-22 Fred Kiefer <[email protected]>
 
        * ChangeLog: Correct version number in last commit.

Modified: libs/gui/trunk/Source/NSTextContainer.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/NSTextContainer.m?rev=38567&r1=38566&r2=38567&view=diff
==============================================================================
--- libs/gui/trunk/Source/NSTextContainer.m     (original)
+++ libs/gui/trunk/Source/NSTextContainer.m     Tue May 26 19:08:41 2015
@@ -96,12 +96,12 @@
   NSDebugLLog(@"NSText", @"NSTextContainer initWithContainerSize");
   if (aSize.width < 0)
     {
-      NSWarnMLog(@"given negative width", 0);
+      NSWarnMLog(@"given negative width");
       aSize.width = 0;
     }
   if (aSize.height < 0)
     {
-      NSWarnMLog(@"given negative height", 0);
+      NSWarnMLog(@"given negative height");
       aSize.height = 0;
     }
   _layoutManager = nil;
@@ -246,12 +246,12 @@
 
   if (aSize.width < 0)
     {
-      NSWarnMLog(@"given negative width", 0);
+      NSWarnMLog(@"given negative width");
       aSize.width = 0;
     }
   if (aSize.height < 0)
     {
-      NSWarnMLog(@"given negative height", 0);
+      NSWarnMLog(@"given negative height");
       aSize.height = 0;
     }
 

Modified: libs/gui/trunk/Source/NSView.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/NSView.m?rev=38567&r1=38566&r2=38567&view=diff
==============================================================================
--- libs/gui/trunk/Source/NSView.m      (original)
+++ libs/gui/trunk/Source/NSView.m      Tue May 26 19:08:41 2015
@@ -595,12 +595,12 @@
 
   if (frameRect.size.width < 0)
     {
-      NSWarnMLog(@"given negative width", 0);
+      NSWarnMLog(@"given negative width");
       frameRect.size.width = 0;
     }
   if (frameRect.size.height < 0)
     {
-      NSWarnMLog(@"given negative height", 0);
+      NSWarnMLog(@"given negative height");
       frameRect.size.height = 0;
     }
   _frame = frameRect;                  // Set frame rectangle
@@ -1178,12 +1178,12 @@
 
   if (frameRect.size.width < 0)
     {
-      NSWarnMLog(@"given negative width", 0);
+      NSWarnMLog(@"given negative width");
       frameRect.size.width = 0;
     }
   if (frameRect.size.height < 0)
     {
-      NSWarnMLog(@"given negative height", 0);
+      NSWarnMLog(@"given negative height");
       frameRect.size.height = 0;
     }
 
@@ -1259,12 +1259,12 @@
   NSRect newFrame = _frame;
   if (newSize.width < 0)
     {
-      NSWarnMLog(@"given negative width", 0);
+      NSWarnMLog(@"given negative width");
       newSize.width = 0;
     }
   if (newSize.height < 0)
     {
-      NSWarnMLog(@"given negative height", 0);
+      NSWarnMLog(@"given negative height");
       newSize.height = 0;
     }
   if (NSEqualSizes(_frame.size, newSize) == NO)
@@ -1385,12 +1385,12 @@
   NSDebugLLog(@"NSView", @"setBounds %@", NSStringFromRect(aRect));
   if (aRect.size.width < 0)
     {
-      NSWarnMLog(@"given negative width", 0);
+      NSWarnMLog(@"given negative width");
       aRect.size.width = 0;
     }
   if (aRect.size.height < 0)
     {
-      NSWarnMLog(@"given negative height", 0);
+      NSWarnMLog(@"given negative height");
       aRect.size.height = 0;
     }
 
@@ -1479,12 +1479,12 @@
 
   if (newSize.width < 0)
     {
-      NSWarnMLog(@"given negative width", 0);
+      NSWarnMLog(@"given negative width");
       newSize.width = 0;
     }
   if (newSize.height < 0)
     {
-      NSWarnMLog(@"given negative height", 0);
+      NSWarnMLog(@"given negative height");
       newSize.height = 0;
     }
 
@@ -1570,12 +1570,12 @@
     {
       if (newSize.width < 0)
         {
-          NSWarnMLog(@"given negative width", 0);
+          NSWarnMLog(@"given negative width");
           newSize.width = 0;
         }
       if (newSize.height < 0)
         {
-          NSWarnMLog(@"given negative height", 0);
+          NSWarnMLog(@"given negative height");
           newSize.height = 0;
         }
 


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to