Skip to content

Commit

Permalink
avutil/tests/adler32: Remove unnecessary volatile
Browse files Browse the repository at this point in the history
And use an ordinary stack variable.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
  • Loading branch information
mkver committed Jan 29, 2022
1 parent f0a7db1 commit 98cef1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libavutil/tests/adler32.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@

#define LEN 7001

static volatile int checksum;

int main(int argc, char **argv)
{
int i;
uint8_t data[LEN];
AVAdler checksum;

av_log_set_level(AV_LOG_DEBUG);

Expand Down

0 comments on commit 98cef1e

Please sign in to comment.