summaryrefslogtreecommitdiff
path: root/dtc-parser.y
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2011-09-12 11:18:43 +1000
committerJon Loeliger <jdl@jdl.com>2011-09-17 11:46:07 -0500
commit83df28bd39979b32a75656cac291c36dbd4e5497 (patch)
tree575f58029dc1a4682f8a649fac6c04a06f3090a8 /dtc-parser.y
parentb43335a23854b2620140eda6cca2ffae59e8de23 (diff)
downloaddtc-83df28bd39979b32a75656cac291c36dbd4e5497.tar.gz
dtc: Remove gcc 4.6 "set but not used" warnings
A number of the dtc testcases trigger the new "variable set but not used" warning from gcc 4.6. That is they have variables which are assigned, but then never read after that point. In a couple of cases this is just because the variables aren't needed, so this patch removes them. In subnode_offset.c, it's because one pair of variables we clearly intended to test we don't actually test. This patch also adds this missing check. This patch makes the testsuite compile clean with gcc 4.6. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc-parser.y')
0 files changed, 0 insertions, 0 deletions