This repository has been archived by the owner on Jul 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Lots of code cleanup #44
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
894862d
CMakeLists.txt: re-enable -Wunused
MaxKellermann 14769ae
jpc_qmfb: remove unused functions jpc_*_col()
MaxKellermann 09ac902
jpc_enc: remove unused function dump_passes()
MaxKellermann 8f5bb88
jpc_enc: remove unused variables
MaxKellermann 21640fe
jpc_mct: remove unused function jpc_mct_getsynweight()
MaxKellermann d17ece7
jpc_dec: remove unused variables
MaxKellermann 2368ae7
jpc_t1enc: remove unused variables
MaxKellermann 242cc9c
jas_cm: work around -Wunused-but-set-parameter
MaxKellermann 5df73c7
jas_icc: work around -Wunused-but-set-parameter
MaxKellermann 31bbfab
jp2_cod: work around -Wunused-but-set-parameter
MaxKellermann 4dd9bf2
jpc_cs: work around -Wunused-but-set-parameter
MaxKellermann 3d21a29
jpc_dec: work around -Wunused-but-set-parameter
MaxKellermann a17d321
jpc_t1cod: work around -Wunused-but-set-parameter
MaxKellermann f89503e
jpc_t1dec: work around -Wunused-but-set-parameter
MaxKellermann 71ea237
jpc_tagtree: work around -Wunused-but-set-parameter
MaxKellermann 83b80fb
mif, pgx, ras: work around -Wunused-but-set-parameter
MaxKellermann df01ace
jas_math: disable -Wshift-negative-value on GCC as well
MaxKellermann 02d5b21
jpg_dummy: suppress -Wunused
MaxKellermann b71f975
jpc_t1enc: fix error handling in jpc_enc_enccblk()
MaxKellermann bc3c927
jpc_t1enc: handle jpc_bitstream_sopen() errors in jpc_enc_enccblk()
MaxKellermann e1d3490
jas_image: simplify jas_image_cmpt_create() error handling
MaxKellermann 9493c19
jas_image: use `bool`
MaxKellermann a8368d2
jas_image: simplify jas_image_cmpt_copy() error handling
MaxKellermann 86402fc
jas_image: convert more integers to `unsigned`
MaxKellermann ab42359
jpc_qmfb: use unsigned integers
MaxKellermann 9557fe3
jpc_fix: convert macros to inline functions
MaxKellermann 0b82570
jas_seq: remove unused macro jas_matrix_length()
MaxKellermann bb497c8
jas_seq: convert macros to inline functions
MaxKellermann 15de202
jas_seq: add macro PRIjas_seqent
MaxKellermann 442c818
appl/img{cmp,info}: move `max_mem` declaration into #ifdef
MaxKellermann 2dcc4fb
appl/imginfo: remove unused variable `verbose`
MaxKellermann 4e53891
jas_stream: work around -Wunused-but-set-parameter
MaxKellermann a8b7059
jpc_t1cod: make internal functions `static`
MaxKellermann 9193e81
jpc_t1cod: use smaller types for the lookup tables
MaxKellermann c944614
jpc_t1cod: remove bogus "Avoid compiler warning"
MaxKellermann b86f257
jas_t1cod: convert macros to inline functions
MaxKellermann 6bb7e63
jpc_mqdec: add `const`
MaxKellermann db8517f
jas_mqenc: remove unimplemented prototype
MaxKellermann 3059569
jas_mqenc: add `const`
MaxKellermann 82bd56c
jpc_mqcod: use smaller types
MaxKellermann c6bbe39
jpg_{enc,dec}: work around -Wunused-but-set-parameter
MaxKellermann ac0704a
mif_cod: work around -Wunused-parameter
MaxKellermann 3b8265f
{jp2,jpc}_dec, jiv: suppress -Wunused-but-set-variable for disabled code
MaxKellermann 830889b
jas_t1cod: convert runtime check to assert()
MaxKellermann bb05bca
jas_t1cod: add "fall through" comment to suppress
MaxKellermann f41bb05
jpg_dec: suppress GCC's -Wtype-limits
MaxKellermann 001b17e
jpc_enc: adjust loop variables for -Wsign-compare
MaxKellermann b28d2c9
jas_image: add `const`
MaxKellermann 389951d
jas_image: convert macros to inline functions
MaxKellermann f12c24d
jp2_cod: convert macros to inline functions
MaxKellermann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend to split statements Declare one name (only) per declaration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree on this one. It makes it more readable to me. But I don't care much and can merge anyways.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't supposed to be "readable". This is a kludge to work around a compiler warning for code which is commented out for unknown reasons. Usually, I wouldn't write two statements on one line, but in this case I decided to do so because I didn't want to waste any screen space for this cr*p.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure whether this is a good reason to break with the style ;)