summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorAdam Buchbinder <abuchbinder@google.com>2014-06-13 14:34:35 -0700
committerDavid Sterba <dsterba@suse.cz>2014-10-10 18:28:28 +0200
commitf404c1ab6cc4cbfa67037cc530714f582127f326 (patch)
treeee43f86b4e22c746ce7e03d430279412ac032bc0 /utils.h
parent6f23efdf27e70964c5a2228b5cea1c20b269846d (diff)
btrfs-progs: Remove extra 'const' modifiers; they don't do anything.
'const int const *x' means the same thing as 'const int *x' or 'int const *x'; the intent was probably 'const int * const x'. However, this won't work for the 'suffix' variable, as it has to be assigned, and making the static tables into const pointers to const chars leads to a mismatch there. This was found with clang's duplicate-decl-specifier warning. Signed-off-by: Adam Buchbinder <abuchbinder@google.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.h')
0 files changed, 0 insertions, 0 deletions