Fix indentation with previous changes
authorNikhil Joshi <nikhilj@nvidia.com>
Tue, 21 Jan 2020 11:05:08 +0000 (16:35 +0530)
committerNikhil Joshi <nikhilj@nvidia.com>
Tue, 21 Jan 2020 11:06:11 +0000 (16:36 +0530)
Fix whitespaces in indentation added by
previous commit
0b3756e8ac11fb35e696e13d3cfdbc2e699cb6eb

loader/windows/icd_windows.c

index ca5e4e923b800de7c75d6132fb447d2ce1e1b35b..3fec0977c96b167b32906de3ba1c79a0f3e966b9 100644 (file)
@@ -52,15 +52,15 @@ BOOL adapterAdd(const char* szName, LUID luid)
         {
             newCapacity = 1;
         }
-           else if(newCapacity < UINT_MAX/2)
+        else if(newCapacity < UINT_MAX/2)
            {
             newCapacity *= 2;
         }
 
         WinAdapter* pNewBegin = realloc(pWinAdapterBegin, newCapacity * sizeof(*pWinAdapterBegin));
         if (!pNewBegin)
-           result = FALSE;
-           else
+            result = FALSE;
+        else
         {
             pWinAdapterCapacity = pNewBegin + newCapacity;
             pWinAdapterEnd = pNewBegin + oldCapacity;
@@ -71,9 +71,9 @@ BOOL adapterAdd(const char* szName, LUID luid)
     {
         size_t nameLen = (strlen(szName) + 1)*sizeof(szName[0]);
         pWinAdapterEnd->szName = malloc(nameLen);
-           if (!pWinAdapterEnd->szName)
-               result = FALSE;
-           else 
+        if (!pWinAdapterEnd->szName)
+            result = FALSE;
+        else 
            {
             memcpy(pWinAdapterEnd->szName, szName, nameLen);
             pWinAdapterEnd->luid = luid;