[Vm-dev] [commit][3658] Suppress a warning related to doubled parenthesis ((...))

commits at squeakvm.org commits at squeakvm.org
Mon Mar 28 21:17:34 UTC 2016


Revision: 3658
Author:   nice
Date:     2016-03-28 14:17:33 -0700 (Mon, 28 Mar 2016)
Log Message:
-----------
Suppress a warning related to doubled parenthesis ((...))

Modified Paths:
--------------
    branches/Cog/platforms/Mac OS/plugins/FilePlugin/sqMacUnixFileInterface.c

Modified: branches/Cog/platforms/Mac OS/plugins/FilePlugin/sqMacUnixFileInterface.c
===================================================================
--- branches/Cog/platforms/Mac OS/plugins/FilePlugin/sqMacUnixFileInterface.c	2016-03-28 20:59:06 UTC (rev 3657)
+++ branches/Cog/platforms/Mac OS/plugins/FilePlugin/sqMacUnixFileInterface.c	2016-03-28 21:17:33 UTC (rev 3658)
@@ -202,7 +202,7 @@
   *isDirectory      = false;
   *sizeIfFile       = 0;
 
-  if ((pathStringLength == 0))
+  if (pathStringLength == 0)
     strcpy(unixPath, ".");
   else  {
 	if (!ioFilenamefromStringofLengthresolveAliasesRetry(unixPath, pathString,pathStringLength, true, true))
@@ -308,7 +308,7 @@
   *isDirectory      = false;
   *sizeIfFile       = 0;
 
-  if ((pathStringLength == 0))
+  if (pathStringLength == 0)
     strcpy(unixPath, ".");
   else  {
 	if (!ioFilenamefromStringofLengthresolveAliasesRetry(unixPath, pathString,pathStringLength, true, true))



More information about the Vm-dev mailing list