Some __unused.

pull/850/head
Nicholas Marriott 2017-03-21 19:27:18 +00:00
parent c2b53598ad
commit cd7550cdf1
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ setproctitle(const char *fmt, ...)
} }
#else #else
void void
setproctitle(const char *fmt, ...) setproctitle(__unused const char *fmt, ...)
{ {
} }
#endif #endif

View File

@ -29,7 +29,7 @@
#include "tmux.h" #include "tmux.h"
char * char *
osdep_get_name(int fd, char *tty) osdep_get_name(__unused int fd, char *tty)
{ {
struct psinfo p; struct psinfo p;
struct stat st; struct stat st;