Skip to content

Delete unused variable#83

Merged
kpchoi merged 1 commit intomainfrom
code_refactor
May 8, 2025
Merged

Delete unused variable#83
kpchoi merged 1 commit intomainfrom
code_refactor

Conversation

@tuzm24
Copy link
Collaborator

@tuzm24 tuzm24 commented May 8, 2025

  • To avoid compile warning, delete pbu_count in oapvd_info().
/Users/yearlykim/Applications/CLion.app/Contents/bin/cmake/mac/aarch64/bin/cmake --build /Users/yearlykim/Documents/project/openapv_external/cmake-build-release --target oapv_app_enc -j 12
[13/15] Building C object src/CMakeFiles/oapv.dir/oapv.c.o
/Users/yearlykim/Documents/project/openapv_external/src/oapv.c:2068:9: warning: variable 'pbu_count' set but not used [-Wunused-but-set-variable]
 2068 |     int pbu_count = 0;
      |         ^
1 warning generated.

- To avoid compile warning, delete pbu_count in oapvd_info().

Signed-off-by: Yangwoo Kim <yearly.kim@samsung.com>
@tuzm24 tuzm24 requested a review from kpchoi May 8, 2025 03:12
Copy link
Collaborator

@kpchoi kpchoi left a comment

Choose a reason for hiding this comment

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

LGTM

@kpchoi kpchoi merged commit 3b589e1 into main May 8, 2025
5 checks passed
alejandro-arango-epicgames pushed a commit to alejandro-arango-epicgames/openapv that referenced this pull request Sep 29, 2025
- To avoid compile warning, delete pbu_count in oapvd_info().

Signed-off-by: Yangwoo Kim <yearly.kim@samsung.com>
Co-authored-by: Yangwoo Kim <yearly.kim@samsung.com>
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