Andrew Eikum : shell32: Avoid gcc 11 misleading-indentation warning.
Alexandre Julliard
julliard at winehq.org
Thu May 20 16:09:04 CDT 2021
Module: wine
Branch: master
Commit: 2e6fea0d1c9c876276e0a6544424c7910efd0415
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2e6fea0d1c9c876276e0a6544424c7910efd0415
Author: Andrew Eikum <aeikum at codeweavers.com>
Date: Wed May 19 15:52:15 2021 -0500
shell32: Avoid gcc 11 misleading-indentation warning.
dlls/shell32/classes.c:315:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
dlls/shell32/classes.c:318:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shell32/classes.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/shell32/classes.c b/dlls/shell32/classes.c
index 4e571259acb..c63800fcc1b 100644
--- a/dlls/shell32/classes.c
+++ b/dlls/shell32/classes.c
@@ -310,10 +310,10 @@ BOOL HCR_GetDefaultIconA(LPCSTR szClass, LPSTR szDest, DWORD len, int* picon_idx
RegCloseKey(hkey);
}
- if (ret)
- TRACE("-- %s %i\n", szDest, *picon_idx);
- else
- TRACE("-- not found\n");
+ if (ret)
+ TRACE("-- %s %i\n", szDest, *picon_idx);
+ else
+ TRACE("-- not found\n");
return ret;
}
More information about the wine-cvs
mailing list