aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/cmd_version.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-05-20 15:28:07 +0100
committerFreeArtMan <dos21h@gmail.com>2017-05-20 15:28:07 +0100
commitf5e6f56a82e56cfd72a0e2f1ce9b583398636545 (patch)
treea8705da438f341dc7a329db964747bf3ad379936 /cmd/cmd_version.c
parenteca4a1364bc1313fe0c40c07b7776d3fd8a8e6fc (diff)
downloadagni-f5e6f56a82e56cfd72a0e2f1ce9b583398636545.tar.gz
agni-f5e6f56a82e56cfd72a0e2f1ce9b583398636545.zip
Fixed warnings all over the code
Diffstat (limited to 'cmd/cmd_version.c')
-rw-r--r--cmd/cmd_version.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/cmd_version.c b/cmd/cmd_version.c
index d919c60..e2e74c4 100644
--- a/cmd/cmd_version.c
+++ b/cmd/cmd_version.c
@@ -2,7 +2,6 @@
void *cmd_version(void *data)
{
- char *param = (char *)data;
char *ret = NULL;
const int buf_size = 128;
@@ -13,4 +12,6 @@ void *cmd_version(void *data)
snprintf(buf, buf_size, "VERSION:0.0.3" " DATE:" VERSION_DATE " COMMIT:" VERSION_COMMIT "\n");
ret = alloc_new_str(buf);
+
+ return ret;
} \ No newline at end of file