Skip to content

Commit 38622b3

Browse files
committed
Fixed a small typo in fortran.cxx where a variable
collides with with keyword for MSVC.
1 parent 4891416 commit 38622b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/Modules/fortran.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3562,9 +3562,9 @@ int FORTRAN::classDirectorMethod(Node *n, Node *classn, String *super) {
35623562

35633563
// Create local variables that become arguments to fortran
35643564
{
3565-
String *cdecl = SwigType_lstr(ctype, imarg);
3566-
Wrapper_add_localv(cppfunc, imarg, cdecl, NULL);
3567-
Delete(cdecl);
3565+
String *cdecl2 = SwigType_lstr(ctype, imarg);
3566+
Wrapper_add_localv(cppfunc, imarg, cdecl2, NULL);
3567+
Delete(cdecl2);
35683568
}
35693569

35703570
// Add C++ -> C conversion typemaps for input args

0 commit comments

Comments
 (0)