Skip to content

unused but set variables #7074

Closed
Closed
@lbernstone

Description

@lbernstone

Board

esp32 dev module

Device Description

any device

Hardware Configuration

any

Version

v2.0.4

IDE Name

Arduino IDE

Operating System

ubuntu

Flash frequency

all

PSRAM enabled

no

Upload speed

115200

Description

platform.txt shows -Wno-error=unused-but-set-variable throughout, and yet is overriden somewhere. Obviously not a major issue, but truly annoying when building out code.

Sketch

char* test;

Debug Message

compile error
`error: unused variable 'heartbeat_list' [-Werror=unused-variable]`

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Labels

Status: Needs investigationWe need to do some research before taking next steps on this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions