- cleaned up makefiles
- polished code to avoid warnings
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
int LscEqPar(char *par, char *res) {
|
||||
char *p, *r, pbuf[SER_BUF_LEN], rbuf[SER_BUF_LEN];
|
||||
int i,n,i1,i2;
|
||||
int i1,i2;
|
||||
float f1, f2;
|
||||
|
||||
p=par;
|
||||
@@ -42,7 +42,6 @@ int LscEqPar(char *par, char *res) {
|
||||
#define nLIST 30
|
||||
|
||||
char *LscCmd(SerChannel *ser, const char *cmds) {
|
||||
va_list ap;
|
||||
char *blank, *colon, *qu, *res;
|
||||
const char *p, *this, *next, *cmd_ptr, *retreq;
|
||||
const char *list[nLIST];
|
||||
@@ -50,7 +49,7 @@ char *LscCmd(SerChannel *ser, const char *cmds) {
|
||||
char cmd[SER_BUF_LEN];
|
||||
char varname[32];
|
||||
DeclStrBuf(sbuf, SER_BUF_LEN);
|
||||
int nres, i, j, response;
|
||||
int nres, i, response;
|
||||
|
||||
nres=0;
|
||||
response=0;
|
||||
|
||||
Reference in New Issue
Block a user