aboutsummaryrefslogtreecommitdiff
path: root/hardinfo/gpu_util.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2018-10-27 12:58:17 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2018-12-02 02:07:23 -0800
commit95e53cda009f498a88f64ef71803a168cb08856c (patch)
treedacc6f84e8ed93db85708b1f58df8705a5d52f8a /hardinfo/gpu_util.c
parent58a9f093fc830ad3d17a77423136be30db631934 (diff)
enable and fix some warnings
Part of (#298). Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'hardinfo/gpu_util.c')
-rw-r--r--hardinfo/gpu_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo/gpu_util.c b/hardinfo/gpu_util.c
index 34015cb3..bb3e06fd 100644
--- a/hardinfo/gpu_util.c
+++ b/hardinfo/gpu_util.c
@@ -255,7 +255,7 @@ gpud *dt_soc_gpu() {
{ "brcm,bcm2835-vc4", "Broadcom", "VideoCore IV" },
{ "arm,mali-450", "ARM", "Mali 450" },
{ "arm,mali", "ARM", "Mali family" },
- { NULL, NULL }
+ { NULL, NULL, NULL }
};
char tmp_path[256] = "";
char *dt_gpu_path = NULL;
@@ -399,7 +399,7 @@ gpud *gpu_get_device_list() {
/* Try other things ... */
-
+ return list;
}