Ticket #65933: patch-git-older-gcc-deprecated.diff

File patch-git-older-gcc-deprecated.diff, 365 bytes (added by kencu (Ken), 2 years ago)
  • git-compat-util.h

    old new  
    190190#define _SGI_SOURCE 1
    191191
    192192#if defined(__GNUC__)
    193 #define UNUSED __attribute__((unused)) \
    194         __attribute__((deprecated ("parameter declared as UNUSED")))
     193#define UNUSED __attribute__((unused))
    195194#else
    196195#define UNUSED
    197196#endif