Skip to content

Conversation

@pguyot
Copy link
Collaborator

@pguyot pguyot commented Nov 25, 2025

gcc 14 and lower would generate an unused variable warning. Simplify logic.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

gcc 14 and lower would generate an unused variable warning. Simplify logic.

Signed-off-by: Paul Guyot <[email protected]>
Copy link
Collaborator

@UncleGrumpy UncleGrumpy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix.

@bettio bettio merged commit 522c916 into atomvm:main Nov 25, 2025
233 of 240 checks passed
@pguyot pguyot deleted the w48/cleanup-nif_zlib_compress_1-to-reduce-gcc-confusion branch November 25, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants