opencl-intercept-layer icon indicating copy to clipboard operation
opencl-intercept-layer copied to clipboard

fix MacOS warnings

Open bashbaug opened this issue 1 year ago • 0 comments

Observed Behavior

A few warnings have crept into the MacOS builds. We should fix these:

/Users/runner/work/opencl-intercept-layer/opencl-intercept-layer/intercept/src/intercept.cpp:10290:21: warning: variable 'nameSize' set but not used [-Wunused-but-set-variable]
            size_t  nameSize = 0;
                    ^
/Users/runner/work/opencl-intercept-layer/opencl-intercept-layer/intercept/src/intercept.cpp:10368:21: warning: variable 'nameSize' set but not used [-Wunused-but-set-variable]
            size_t  nameSize = 0;
                    ^
/Users/runner/work/opencl-intercept-layer/opencl-intercept-layer/intercept/src/intercept.cpp:10488:21: warning: variable 'nameSize' set but not used [-Wunused-but-set-variable]
            size_t  nameSize = 0;
                    ^

Desired Behavior

No warnings.

Steps to Reproduce

See the automated MacOS builds.

bashbaug avatar Jun 03 '24 22:06 bashbaug