Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile warnings #48

Open
BudDavis opened this issue Nov 27, 2024 · 1 comment
Open

compile warnings #48

BudDavis opened this issue Nov 27, 2024 · 1 comment

Comments

@BudDavis
Copy link
Collaborator

[ 30%] Building CXX object CMakeFiles/JSBSimEdit.dir/src/Propulsion/PropulsionSubsystem.cpp.o
/home/bdavis/jsbsimedit/src/Propulsion/PropulsionSubsystem.cpp: In member function ‘virtual void PropulsionSubsystem::Create()’:
/home/bdavis/jsbsimedit/src/Propulsion/PropulsionSubsystem.cpp:175:17: warning: unused variable ‘pLabelLocX’ [-Wunused-variable]
175 | Gtk::Label* pLabelLocX = Gtk::make_managedGtk::Label("Location X:");
| ^~~~~~~~~~
/home/bdavis/jsbsimedit/src/Propulsion/PropulsionSubsystem.cpp:176:17: warning: unused variable ‘pEntryLocX’ [-Wunused-variable]
176 | Gtk::Entry* pEntryLocX = Gtk::make_managedGtk::Entry();
| ^~~~~~~~~~
/home/bdavis/jsbsimedit/src/Propulsion/PropulsionSubsystem.cpp:178:17: warning: unused variable ‘pLabelLocY’ [-Wunused-variable]
178 | Gtk::Label* pLabelLocY = Gtk::make_managedGtk::Label("Location Y:");
| ^~~~~~~~~~
/home/bdavis/jsbsimedit/src/Propulsion/PropulsionSubsystem.cpp:179:17: warning: unused variable ‘pEntryLocY’ [-Wunused-variable]
179 | Gtk::Entry* pEntryLocY = Gtk::make_managedGtk::Entry();
| ^~~~~~~~~~
/home/bdavis/jsbsimedit/src/Propulsion/PropulsionSubsystem.cpp:181:17: warning: unused variable ‘pLabelLocZ’ [-Wunused-variable]
181 | Gtk::Label* pLabelLocZ = Gtk::make_managedGtk::Label("Location Z:");
| ^~~~~~~~~~
/home/bdavis/jsbsimedit/src/Propulsion/PropulsionSubsystem.cpp:182:17: warning: unused variable ‘pEntryLocZ’ [-Wunused-variable]
182 | Gtk::Entry* pEntryLocZ = Gtk::make_managedGtk::Entry();
| ^~~~~~~~~~
[ 30%] Building CXX object CMakeFiles/JSBSimEdit.dir/src/Propulsion/Tank.cpp.o
[ 31%] Building CXX object CMakeFiles/JSBSimEdit.dir/src/Propulsion/TankDialog.cpp.o
[ 31%] Building CXX object CMakeFiles/JSBSimEdit.dir/src/Propulsion/Thruster.cpp.

LilRiceBaby added a commit that referenced this issue Dec 2, 2024
Removed unused variable ‘pLabelLocX’, unused variable ‘pEntryLocX’, unused variable ‘pLabelLocY’, unused variable ‘pEntryLocY’, unused variable ‘pLabelLocZ’ and unused variable ‘pEntryLocZ’ for compile warnings issue #48
@BudDavis
Copy link
Collaborator Author

BudDavis commented Dec 8, 2024 via email

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

No branches or pull requests

1 participant