summaryrefslogtreecommitdiffstats
path: root/include/net/snmp.h
diff options
context:
space:
mode:
authorArtem Bityutskiy2011-03-25 16:10:16 +0100
committerArtem Bityutskiy2011-03-25 16:10:16 +0100
commit68b1a1e786f29c900fa1c516a402e24f0ece622a (patch)
treeea9bed01be0ee11ff3e6e119aa1883bad85b35f7 /include/net/snmp.h
parentmtdswap: kill strict error handling option (diff)
downloadkernel-qcow2-linux-68b1a1e786f29c900fa1c516a402e24f0ece622a.tar.gz
kernel-qcow2-linux-68b1a1e786f29c900fa1c516a402e24f0ece622a.tar.xz
kernel-qcow2-linux-68b1a1e786f29c900fa1c516a402e24f0ece622a.zip
mtd: mtdswap: fix compilation warning
Fix the following compilation warning: drivers/mtd/mtdswap.c: In function ‘mtdswap_pick_gc_eblk’: drivers/mtd/mtdswap.c:859: warning: ‘idx’ may be used uninitialized in this function drivers/mtd/mtdswap.c:859: note: ‘idx’ was declared here Initialize idx to -1 because this value means "no tree choosen". Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include/net/snmp.h')
0 files changed, 0 insertions, 0 deletions