mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-05-05 00:00:27 -04:00
scripts: resolve 917 instances of -Wunused-variable
scripts/LEVEL0.cpp:1036:27: warning: unused variable "event_data" [-Wunused-variable] and a lot more.
This commit is contained in:
@@ -550,8 +550,6 @@ int16_t LevelScript_0000::CallEvent(int event, tOSIRISEventInfo *data) {
|
||||
dfRestore(event_data->fileptr);
|
||||
} break;
|
||||
case EVT_LEVELSTART: {
|
||||
tOSIRISEVTLEVELSTART *event_data = &data->evt_levelstart;
|
||||
|
||||
ClearGlobalActionCtrs();
|
||||
dfInit();
|
||||
|
||||
@@ -599,8 +597,6 @@ int16_t LevelScript_0000::CallEvent(int event, tOSIRISEventInfo *data) {
|
||||
int16_t CustomObjectScript_1004::CallEvent(int event, tOSIRISEventInfo *data) {
|
||||
switch (event) {
|
||||
case EVT_CREATED: {
|
||||
tOSIRISEVTCREATED *event_data = &data->evt_created;
|
||||
|
||||
// Script 003: Script Description Goes Here
|
||||
if (1) {
|
||||
aStoreObjectInPositionClipboard(Object_handles[0]);
|
||||
|
||||
Reference in New Issue
Block a user