Ticket #4572: mc-4572-usermenu.c-fix-Wunused-macros-warning.patch

File mc-4572-usermenu.c-fix-Wunused-macros-warning.patch, 828 bytes (added by and, 4 weeks ago)
  • src/usermenu.c

    From bf11e8478e3f319f903ee22391d109317750f559 Mon Sep 17 00:00:00 2001
    From: Andreas Mohr <and@gmx.li>
    Date: Sat, 23 Nov 2024 12:00:00 +0000
    Subject: [PATCH] (usermenu.c): fix -Wunused-macros warning
    
    usermenu.c:68:9: warning: macro is not used [-Wunused-macros]
       68 | #define MAX_ENTRIES 16
          |         ^
    
    Found by clang-18
    
    Signed-off-by: Andreas Mohr <and@gmx.li>
    ---
     src/usermenu.c | 1 -
     1 file changed, 1 deletion(-)
    
    diff --git a/src/usermenu.c b/src/usermenu.c
    index 1ec961153..d8587989e 100644
    a b  
    6565 
    6666/*** file scope macro definitions ****************************************************************/ 
    6767 
    68 #define MAX_ENTRIES 16 
    6968#define MAX_ENTRY_LEN 60 
    7069 
    7170/*** file scope type declarations ****************************************************************/