diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2014-07-26 21:57:01 (GMT) |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2014-07-27 11:22:45 (GMT) |
commit | fcd38ed0ff263156c3917c70c2fb0b7e91bfeab1 (patch) | |
tree | a0fef8e6a66ebf755af71069dd776b6a0a7d167b /lib/lzo | |
parent | 37549e94c77a94a9c32b5ae3313a3801cb66adf9 (diff) | |
download | linux-fcd38ed0ff263156c3917c70c2fb0b7e91bfeab1.tar.xz |
scripts: modpost: fix compilation warning
The scripts/mod/modpost.c triggers the following warning:
scripts/mod/modpost.c: In function ‘remove_dot’:
scripts/mod/modpost.c:1710:10: warning: ignoring return value of ‘strtoul’, declared with attribute warn_unused_result [-Wunused-result]
The remove_dot function that calls strtoul does not care about the
numeric value of the string that is parsed but only looks for the
end of the numeric sequence. As such, it's equivalent to just skip
over all digits.
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/lzo')
0 files changed, 0 insertions, 0 deletions