2025-07-03 14:52 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000918Spring engineGeneralpublic2008-05-04 13:04
Reporterzenzike 
Assigned ToILMTitan 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.76b1+svn 
Target VersionFixed in Version 
Summary0000918: [patch] CommandQueue.h warning
DescriptionSimilar to 0000916, a compiler warning comes up since declaration order of variables differs from instantiation.

I've moved the declaration order even though that's what determines build order, since the instantiation makes more design sense, and the order doesn't have any real impact on the code.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • patch file icon commandqueue.patch (392 bytes) 2008-05-04 01:17 -
    Index: /spring/rts/Sim/Units/CommandAI/CommandQueue.h
    ===================================================================
    --- /spring/rts/Sim/Units/CommandAI/CommandQueue.h	(revision 5838)
    +++ /spring/rts/Sim/Units/CommandAI/CommandQueue.h	(working copy)
    @@ -87,8 +87,8 @@
     
     	private:
     		std::deque<Command> queue;
    +		QueueType queueType;
     		int tagCounter;
    -		QueueType queueType;
     };
     
     
    
    
    patch file icon commandqueue.patch (392 bytes) 2008-05-04 01:17 +

-Relationships
+Relationships

-Notes

~0002234

zenzike (reporter)

I mean 0000917.

~0002236

ILMTitan (reporter)

Committed. Thank You.
+Notes

-Issue History
Date Modified Username Field Change
2008-05-04 01:17 zenzike New Issue
2008-05-04 01:17 zenzike File Added: commandqueue.patch
2008-05-04 09:13 zenzike Note Added: 0002234
2008-05-04 12:59 ILMTitan Status new => assigned
2008-05-04 12:59 ILMTitan Assigned To => ILMTitan
2008-05-04 13:04 ILMTitan Status assigned => resolved
2008-05-04 13:04 ILMTitan Resolution open => fixed
2008-05-04 13:04 ILMTitan Note Added: 0002236
+Issue History