From: <sba...@us...> - 2024-10-19 07:54:23
|
This is an automated email from the git hooks/post-receive-user script. sbaldovi pushed a commit to branch master in repository fuse. View the commit online: https://sourceforge.net/p/fuse-emulator/fuse/ci/e65a7bb0a884827f0c0a95ffe77da4ef7831ed27/ commit e65a7bb0a884827f0c0a95ffe77da4ef7831ed27 Author: Sergio Baldoví <ser...@gm...> AuthorDate: Sat Oct 19 09:45:54 2024 +0200 Suppress a -Wmisleading-indentation warning from GCC in Xlib UI --- ui/xlib/xdisplay.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/xlib/xdisplay.c b/ui/xlib/xdisplay.c index ce29a497..cc9dc17b 100644 --- a/ui/xlib/xdisplay.c +++ b/ui/xlib/xdisplay.c @@ -975,7 +975,11 @@ xdisplay_destroy_image(void) shm_used = 0; } #endif - if( image ) XDestroyImage( image ); image = NULL; + + if( image != NULL ) { + XDestroyImage( image ); + image = NULL; + } } static void |