diff --git a/src/utils.c b/src/utils.c index a779108..0b124a6 100644 --- a/src/utils.c +++ b/src/utils.c @@ -17,8 +17,6 @@ inline bool file_exists(const char* path) { /* path has to have at least 8 free chars at the end for glob */ int get_hwmon_dir(char* path) { glob_t g; - // const size_t len = strlen(path); - // strcpy(&path[len], "/hwmon*"); // append the glob to the end of the path strncat(path, "/hwmon*", 8); if (glob(path, 0, nullptr, &g) == 0) {