Changeset 4492

Show
Ignore:
Timestamp:
06/27/07 14:19:46 (7 years ago)
Author:
khali
Message:

Enable lots of warnings.

Location:
i2c-tools/trunk/tools
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • i2c-tools/trunk/tools/Makefile

    r4487 r4492  
    66 
    77CC      = gcc 
    8 CFLAGS  = -Wall -I../include 
     8CFLAGS  = -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \ 
     9          -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W \ 
     10          -I../include 
    911 
    1012CFLAGS  += -O2 
  • i2c-tools/trunk/tools/i2cdetect.c

    r4487 r4492  
    153153        { .value = I2C_FUNC_SMBUS_READ_I2C_BLOCK, 
    154154          .name = "I2C Block Read" }, 
    155         { } 
     155        { .value = 0, .name = "" } 
    156156}; 
    157157