diff --git a/dlls/engine/engine.cpp b/dlls/engine/engine.cpp index 033561a6..199ed464 100755 --- a/dlls/engine/engine.cpp +++ b/dlls/engine/engine.cpp @@ -878,7 +878,6 @@ static cell AMX_NATIVE_CALL trace_forward(AMX *amx, cell *params) Vector forwardVector = gpGlobals->v_forward; REAL fEndX = forwardVector[0] * 4000; REAL fEndY = forwardVector[1] * 4000; - REAL fEndZ = fStartZ; REAL fClosestDist = 999999.9; REAL fClosestLow = 0.0; diff --git a/dlls/engine/entity.cpp b/dlls/engine/entity.cpp index 03eabac5..7c8dffe7 100755 --- a/dlls/engine/entity.cpp +++ b/dlls/engine/entity.cpp @@ -164,7 +164,6 @@ static cell AMX_NATIVE_CALL get_keyvalue(AMX *amx, cell *params) int idx = params[1]; CHECK_ENTITY(idx); edict_t *pEntity = INDEXENT2(idx); - char *test = INFO_KEY_BUFFER(pEntity); int iLength=0; char *char1 = MF_GetAmxString(amx, params[2], 1, &iLength); return MF_SetAmxString(amx, params[3], INFO_KEY_VALUE(INFO_KEY_BUFFER(pEntity),char1), params[4]); diff --git a/dlls/engine/forwards.cpp b/dlls/engine/forwards.cpp index 0a788e7c..a45ddbaa 100755 --- a/dlls/engine/forwards.cpp +++ b/dlls/engine/forwards.cpp @@ -40,7 +40,7 @@ int Spawn(edict_t *pEntity) { if (!g_precachedStuff) { // Used for SetView, added by JGHG - int returnValue = PRECACHE_MODEL("models/rpgrocket.mdl"); + PRECACHE_MODEL("models/rpgrocket.mdl"); g_precachedStuff = true; } if (SpawnForward != -1) { diff --git a/dlls/engine/globals.cpp b/dlls/engine/globals.cpp index 3b0ab130..728f9736 100755 --- a/dlls/engine/globals.cpp +++ b/dlls/engine/globals.cpp @@ -2,8 +2,6 @@ static cell AMX_NATIVE_CALL get_global_float(AMX *amx, cell *params) { - int global = params[1]; - REAL returnValue; switch (params[1]) {