• Davi Arnaut's avatar
    Bug#45288: pb2 returns a lot of compilation warnings on linux · c96b249f
    Davi Arnaut authored
    Fix warnings flagged by the new warning option -Wunused-but-set-variable
    that was added to GCC 4.6 and that is enabled by -Wunused and -Wall. The
    option causes a warning whenever a local variable is assigned to but is
    later unused. It also warns about meaningless pointer dereferences.
    c96b249f
item.cc 212 KB