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

warning on var totalCount compile on mac venture clang #117

Open
jmscott opened this issue May 13, 2023 · 0 comments
Open

warning on var totalCount compile on mac venture clang #117

jmscott opened this issue May 13, 2023 · 0 comments

Comments

@jmscott
Copy link

jmscott commented May 13, 2023

just a heads up.

compile under mac venture clang gives this warning:

 src/rumdatapage.c:1063:8: warning: variable 'totalCount' set but not used [-Wunused-but-set-variable]
    int                     totalCount = 0;

the warning appears to be incorrect, as totalCount is incremented in scope at lines: 1103, 1115, 1137, 1152.
no sure what's up.

the compiler version is Apple clang version 14.0.3 (clang-1403.0.22.14.1) and compile core pg15.3 with no issues. the ventura version is Darwin tmonk 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64 i386 Darwin.

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