siglent-sds: Fix multiple compiler warnings.

This commit is contained in:
Uwe Hermann 2018-02-18 17:40:59 +01:00
parent 567c6501d9
commit e8e063738d
1 changed files with 2 additions and 2 deletions

View File

@ -527,11 +527,11 @@ static int config_set(uint32_t key, GVariant *data,
struct dev_context *devc; struct dev_context *devc;
uint64_t p; uint64_t p;
double t_dbl; double t_dbl;
unsigned int i; int i;
int ret, idx; int ret, idx;
const char *tmp_str; const char *tmp_str;
char buffer[16]; char buffer[16];
char *cmd; char *cmd = "";
char cmd4[4]; char cmd4[4];
devc = sdi->priv; devc = sdi->priv;