Giter VIP home page Giter VIP logo

dvtm's Issues

Clean up warnings

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) {

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.