summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-09-27 18:35:47 -0400
committerDavid S. Miller <davem@davemloft.net>2012-09-27 18:35:47 -0400
commitf54ba7798848ce1385a71b36a2c997422c82220a (patch)
treeb93f6a9e0d456602898817b8333a430b0e5929a8 /scripts
parente905ed57baa82e15ce9c158a8f1e81f171042504 (diff)
downloadlinux-f54ba7798848ce1385a71b36a2c997422c82220a.tar.gz
linux-f54ba7798848ce1385a71b36a2c997422c82220a.tar.bz2
linux-f54ba7798848ce1385a71b36a2c997422c82220a.zip
pkt_sched: Fix warning false positives.
GCC refuses to recognize that all error control flows do in fact set err to something. Add an explicit initialization to shut it up. net/sched/sch_drr.c: In function ‘drr_enqueue’: net/sched/sch_drr.c:359:11: warning: ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized] net/sched/sch_qfq.c: In function ‘qfq_enqueue’: net/sched/sch_qfq.c:885:11: warning: ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions