Bug #12859

47 - No matching signature for clearweaponcargo/clearmagazinecargo

Added by kju over 4 years ago. Updated over 4 years ago.

Status:Rejected Start date:08/11/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Affected Version:

Description

//-- ERRORWINDOW
No matching signature for '<Unused> clearweaponcargo <Unused>'
No matching signature for '<Unused> clearmagazinecargo <Unused>'

//-- CURRENTERROR
clearWeaponCargo _vehicle
No matching signature for '<Unused> clearweaponcargo <Unused>'
Unary Operator clearweaponcargo
 RHS
 VARNAME _vehicle


ColumnHeader: Text: Error

1 //-- CODEWINDOW
2 // clear vehicle cargo at mission start
3 clearWeaponCargo _vehicle;
4 clearMagazineCargo _vehicle;

History

Updated by kju over 4 years ago

The reason is probably that _vehicle is not defined/assigned in this file.
The file this code is in is included into others.

So may not be an error.

Updated by sbsmac over 4 years ago

  • Status changed from New to Feedback

You are correct that the reason is that _vehicle is not defined. In the latest build which I will push out soon, unused variables are treated as 'Any' type and you won't see these spurious warnings.

Updated by kju over 4 years ago

  • Status changed from Feedback to Rejected

k

Also available in: Atom PDF