Skip to content

Refactor loop variables in BCMenu#24

Merged
davestj merged 1 commit intodevfrom
codex/refactor-loops-in-bcmenu.cpp
Aug 11, 2025
Merged

Refactor loop variables in BCMenu#24
davestj merged 1 commit intodevfrom
codex/refactor-loops-in-bcmenu.cpp

Conversation

@davestj
Copy link
Owner

@davestj davestj commented Aug 11, 2025

Summary

  • Declare loop counters in-place in SynchronizeMenu to remove unnecessary variable
  • Reuse shared i variable in RemoveMenu and DeleteMenu to avoid redeclaration

Testing

  • g++ -c BCMenu.cpp (fails: stdafx.h: No such file or directory)
  • apt-get install -y mingw-w64
  • x86_64-w64-mingw32-g++ -c BCMenu.cpp (fails: afxwin.h: No such file or directory)

https://chatgpt.com/codex/tasks/task_e_689a70f14b20832ba3c066b6092633a6

@davestj davestj merged commit a0fdbd3 into dev Aug 11, 2025
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant