Changeset 1416


Ignore:
Timestamp:
Nov 16, 2006, 12:26:22 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Fix a compilation warning by pretending to use seterrno()'s argument even when it isn't.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/common.h

    r1362 r1416  
    4040static inline int geterrno(void) { return errno; }
    4141#else
    42 #   define seterrno(x) do {} while(0)
     42#   define seterrno(x) do { (void)(x); } while(0)
    4343#   define geterrno(x) 0
    4444#endif
Note: See TracChangeset for help on using the changeset viewer.