Fixes 1 Bug and 8 Compiler Warnings #2260

Closed
opened 2026-04-06 02:41:08 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @rubienr on 9/7/2025

Description

This PR:

  • Fixes #10652
  • Fixes 8 compiler warnings and 1 bug:
    1. converting to non-pointer type int from NULL [-Wconversion-null]
    2. extra tokens at end of #endif directive [-Wendif-labels]
    3. operation on unprintability may be undefined [-Wsequence-point]
    4. moving brim_points to itself [-Wself-move] 🐞
    5. suggest parentheses around && within || [-Wparentheses]
    6. operation on repeats may be undefined [-Wsequence-point]
    7. keys_map is initialized with itself [-Winit-self]
*Originally created by @rubienr on 9/7/2025* # Description This PR: - Fixes #10652 - Fixes 8 compiler warnings and 1 bug: 1. converting to non-pointer type int from NULL [-Wconversion-null] 2. extra tokens at end of #endif directive [-Wendif-labels] 3. operation on unprintability may be undefined [-Wsequence-point] 4. moving brim_points to itself [-Wself-move] :lady_beetle: 5. suggest parentheses around && within || [-Wparentheses] 6. operation on repeats may be undefined [-Wsequence-point] 7. keys_map is initialized with itself [-Winit-self]
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#2260