Re: [PATCH] remove unused variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> There were two kinds of unused but set variables:
>  - the really pointless ones
>  - the ones whose only purpose was to silence the warnings
>     about ignoring the return values from functions declared with
>     __attribute__((__warn_unused_result__))
> Since gcc 4.5 the warnings can be disabled using -Wno-unused-result,
> so the variables are no longer necessary.
> Then -Wno-unused-but-set-variable is an overkill, so drop it.

Thanks for the patch.  Pushed.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux