Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up warnings #14

Open
mthowe opened this issue May 19, 2020 · 0 comments
Open

Clean up warnings #14

mthowe opened this issue May 19, 2020 · 0 comments

Comments

@mthowe
Copy link
Owner

mthowe commented May 19, 2020

dvtm.c: In function ‘drawbar’:
dvtm.c:380:4: warning: implicit declaration of function ‘addnwstr’; did you mean ‘addnstr’? [-Wimplicit-function-declaration]
addnwstr(wbuf+i, 1);
^~~~~~~~
addnstr
dvtm.c: In function ‘parse_args’:
dvtm.c:1844:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
free(fifo);
^~~~
In file included from dvtm.c:13:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
extern void free (void *__ptr) __THROW;
^~~~
At top level:
dvtm.c:1262:1: warning: ‘focusprevnm’ defined but not used [-Wunused-function]
focusprevnm(const char *args[]) {
^~~~~~~~~~~
vt.c:518:13: warning: ‘buffer_row_prev’ defined but not used [-Wunused-function]
static Row *buffer_row_prev(Buffer *b, Row *row)
^~~~~~~~~~~~~~~
vt.c:487:13: warning: ‘buffer_row_last’ defined but not used [-Wunused-function]
static Row *buffer_row_last(Buffer *b) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant