Eliminate warnings under Sun Studio
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Fix an enum assignment issue spotted by Sun Studiobuiltin/ | +2 | 0 replies | |
| 2/4 | Fix a bitwise negation assignment issue spotted by Sun Studiotest-treap.c vcs-svn/ vcs-svn/ | +4 | 0 replies | |
| 3/4 | Appease Sun Studio by renaming "tmpfile"builtin/ fast-import.c pack-write.c +1 more | +16 | 0 replies | |
| 4/4 | Suppress "statement not reached" warnings under Sun Studioread-cache.c xdiff/ | +12 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Eliminate warnings under Sun Studio
This patch series eliminates warnings under Sun Studio. The first two patches address actual (but obviously minor) issues, the third is a nit, and the fourth disables a warning Sun Studio gets wrong.
I'm not sure whether we want the verbose code needed in the forth to disable warnings under specific compilers, but since it's a rare enough case and saves people compiling the code from wondering about it's it's probably warranted. It's a verbose way to get rid of it though.
I've CC'd people involved in the code touched by the first two, but the second two are generic enough that I've decided not to bother the original authors.
Ævar Arnfjörð Bjarmason (4):
Fix an enum assignment issue spotted by Sun Studio Fix a bitwise negation assignment issue spotted by Sun Studio Appease Sun Studio by renaming "tmpfile"
Suppress "statement not reached" warnings under Sun Studio
builtin/fast-export.c | 4 ++-- builtin/index-pack.c | 6 +++--- fast-import.c | 8 ++++---- pack-write.c | 6 +++--- read-cache.c | 6 ++++++ sha1_file.c | 12 ++++++------ test-treap.c | 2 +- vcs-svn/repo_tree.c | 2 +- vcs-svn/string_pool.c | 4 ++-- xdiff/xutils.c | 6 ++++++ 10 files changed, 34 insertions(+), 22 deletions(-)
Signature · 1 line
1.7.7.3