Remove unused variables
r2403 | dcl | 2008-03-27 13:18:58 +1100 (Thu, 27 Mar 2008) | 2 lines
This commit is contained in:
@@ -208,7 +208,6 @@ int AsyncProtocolNoAction(SConnection *pCon, SicsInterp *pSics,
|
|||||||
void *pData, int argc, char *argv[])
|
void *pData, int argc, char *argv[])
|
||||||
{
|
{
|
||||||
char line[132];
|
char line[132];
|
||||||
pAsyncProtocol self = (pAsyncProtocol) pData;
|
|
||||||
snprintf(line, 132, "%s does not understand %s", argv[0], argv[1]);
|
snprintf(line, 132, "%s does not understand %s", argv[0], argv[1]);
|
||||||
SCWrite(pCon, line, eError);
|
SCWrite(pCon, line, eError);
|
||||||
return 0;
|
return 0;
|
||||||
@@ -217,7 +216,6 @@ int AsyncProtocolNoAction(SConnection *pCon, SicsInterp *pSics,
|
|||||||
int AsyncProtocolAction(SConnection *pCon, SicsInterp *pSics,
|
int AsyncProtocolAction(SConnection *pCon, SicsInterp *pSics,
|
||||||
void *pData, int argc, char *argv[])
|
void *pData, int argc, char *argv[])
|
||||||
{
|
{
|
||||||
char line[132];
|
|
||||||
pAsyncProtocol self = (pAsyncProtocol) pData;
|
pAsyncProtocol self = (pAsyncProtocol) pData;
|
||||||
if (argc > 1) {
|
if (argc > 1) {
|
||||||
/* handle genecic parameters like terminators */
|
/* handle genecic parameters like terminators */
|
||||||
|
|||||||
Reference in New Issue
Block a user