summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2018-10-26 19:38:57 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2018-12-02 02:07:23 -0800
commit35481e5f9bfa432107ea7ecb2ef5df2939aa3b69 (patch)
treee2782a9a1ebe2d94789b3d0d0abdd8535be3713a
parent0aadc09b762cdbb2f0ed0a170b6bcd5c5d8eef4b (diff)
bench_results: minor fix
(#298) E: hardinfo no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/hardinfo-20181022T194523/modules/benchmark/bench_results.c:137 Signed-off-by: Burt P <pburt0@gmail.com>
-rw-r--r--modules/benchmark/bench_results.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/benchmark/bench_results.c b/modules/benchmark/bench_results.c
index 4f7b35db..d0239326 100644
--- a/modules/benchmark/bench_results.c
+++ b/modules/benchmark/bench_results.c
@@ -113,7 +113,7 @@ static int cpu_config_is_close(char *str0, char *str1) {
return 0;
}
-static gen_machine_id(bench_machine *m) {
+static void gen_machine_id(bench_machine *m) {
char *s;
if (m) {
if (m->mid != NULL)