forked from github/server
unused variable
This commit is contained in:
parent
731238dfb1
commit
b4135e49fb
|
@ -116,12 +116,11 @@ static void simplify(const char *rp, char *wp) {
|
||||||
|
|
||||||
int umvwprintw(WINDOW *win, int y, int x, const char *format, ...) {
|
int umvwprintw(WINDOW *win, int y, int x, const char *format, ...) {
|
||||||
char buffer[128];
|
char buffer[128];
|
||||||
int result;
|
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
va_start(args, format);
|
va_start(args, format);
|
||||||
memset(buffer, 0, sizeof(buffer));
|
memset(buffer, 0, sizeof(buffer));
|
||||||
result = vsnprintf(buffer, sizeof(buffer)-1, format, args);
|
vsnprintf(buffer, sizeof(buffer)-1, format, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
|
||||||
simplify(buffer, buffer);
|
simplify(buffer, buffer);
|
||||||
|
|
Loading…
Reference in New Issue