aboutsummaryrefslogtreecommitdiffstats
path: root/tbl_qcmd.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 /tbl_qcmd.c
parenteca4a1364bc1313fe0c40c07b7776d3fd8a8e6fc (diff)
downloadagni-f5e6f56a82e56cfd72a0e2f1ce9b583398636545.tar.gz
agni-f5e6f56a82e56cfd72a0e2f1ce9b583398636545.zip
Fixed warnings all over the code
Diffstat (limited to 'tbl_qcmd.c')
-rw-r--r--tbl_qcmd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tbl_qcmd.c b/tbl_qcmd.c
index 874ad10..c41f6ec 100644
--- a/tbl_qcmd.c
+++ b/tbl_qcmd.c
@@ -30,7 +30,6 @@ tbl_exec *tbl_exec_list_c(int size)
//TODO check if command allready excists
int tbl_exec_add(tbl_exec *tbl, tble_exec *cmd)
{
- int i;
if (tbl == NULL || cmd == NULL)
{
@@ -244,8 +243,6 @@ int tbl_exec_tbl_free(tbl_exec *tbl)
int tbl_exec_tel_free(tble_exec *tble)
{
- int i;
-
if (tble == NULL)
{
return -1;
@@ -317,7 +314,6 @@ tbl_qcmd* tbl_qcmd_c(int size)
int tbl_qcmd_exec(tbl_qcmd *tcmd, tbl_exec *texec)
{
- int ret=-1;
int i,j;
if (tcmd == NULL)
@@ -858,5 +854,5 @@ int tbl_qcmd_mng_states(tbl_qcmd *tbl)
//add more complicated state machine execution
//add more logging and more cases to log
-
+ return 0;
} \ No newline at end of file