Skip to content

Commit 2285aaa

Browse files
committed
remove unused variable
1 parent 0eba3a8 commit 2285aaa

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/lceasy.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,6 @@ static int lcurl_easy_pause(lua_State *L){
10291029
}
10301030

10311031
static int lcurl_easy_setdata(lua_State *L){
1032-
lcurl_easy_t *p = lcurl_geteasy(L);
10331032
lua_settop(L, 2);
10341033
lua_pushvalue(L, 1);
10351034
lua_insert(L, 2);
@@ -1038,7 +1037,6 @@ static int lcurl_easy_setdata(lua_State *L){
10381037
}
10391038

10401039
static int lcurl_easy_getdata(lua_State *L){
1041-
lcurl_easy_t *p = lcurl_geteasy(L);
10421040
lua_settop(L, 1);
10431041
lua_rawget(L, LCURL_USERVALUES);
10441042
return 1;

src/lcmulti.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,6 @@ static int lcurl_multi_setopt(lua_State *L){
462462
}
463463

464464
static int lcurl_multi_setdata(lua_State *L){
465-
lcurl_multi_t *p = lcurl_getmulti(L);
466465
lua_settop(L, 2);
467466
lua_pushvalue(L, 1);
468467
lua_insert(L, 2);
@@ -471,7 +470,6 @@ static int lcurl_multi_setdata(lua_State *L){
471470
}
472471

473472
static int lcurl_multi_getdata(lua_State *L){
474-
lcurl_multi_t *p = lcurl_getmulti(L);
475473
lua_settop(L, 1);
476474
lua_rawget(L, LCURL_USERVALUES);
477475
return 1;

0 commit comments

Comments
 (0)