TacOS-team / tacos

Système d'exploitation / Operating System
GNU General Public License v3.0
9 stars 4 forks source link

Warnings avec clang --analyze #74

Closed MaximeCheramy closed 12 years ago

MaximeCheramy commented 12 years ago
ksem.c:206:23: warning: Dereference of null pointer (loaded from variable 'key')
    return ksemcreate(*key);
                      ^~~~

clock.c:140:2: warning: Value stored to 'day' is never read
        day = 0;                        /* means days since day 0 now */
        ^     ~
clock.c:139:2: warning: Value stored to 'seconds' is never read
        seconds = 0;
        ^         ~

char/serial.c:249:9: warning: Value stored to 'temp_read' is never read
  ...temp_read = read_register(i, LINE_STATUS);
     ^           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NicolasFloquet commented 12 years ago

Y'en a beaucoup des comme ça?

MaximeCheramy commented 12 years ago

J'ai tout mis, après clang plante sur la libc.