[Bf-blender-cvs] [bdf99a51199] master: cleanup: hipew remove unused variables
Ray Molenkamp
noreply at git.blender.org
Tue Jan 11 22:49:34 CET 2022
Commit: bdf99a5119931a92c1c3b93fea8b8256148aeb06
Author: Ray Molenkamp
Date: Tue Jan 11 14:49:29 2022 -0700
Branches: master
https://developer.blender.org/rBbdf99a5119931a92c1c3b93fea8b8256148aeb06
cleanup: hipew remove unused variables
caused 4 warnings, nothing even conditionally
uses them, can be safely removed.
===================================================================
M extern/hipew/src/hipew.c
===================================================================
diff --git a/extern/hipew/src/hipew.c b/extern/hipew/src/hipew.c
index 010c361fa46..ecf952e266f 100644
--- a/extern/hipew/src/hipew.c
+++ b/extern/hipew/src/hipew.c
@@ -257,7 +257,7 @@ static int hipewHipInit(void) {
#endif
static int initialized = 0;
static int result = 0;
- int error, driver_version;
+ int error;
if (initialized) {
return result;
@@ -565,8 +565,6 @@ int hipewCompilerVersion(void) {
const char *path = hipewCompilerPath();
const char *marker = "Hip compilation tools, release ";
FILE *pipe;
- int major, minor;
- char *versionstr;
char buf[128];
char output[65536] = "\0";
char command[65536] = "\0";
More information about the Bf-blender-cvs
mailing list