mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Address Visual Studio analyzer warnings
This commit is contained in:
@@ -856,7 +856,7 @@ public:
|
||||
};
|
||||
|
||||
/// The shape of the returned field of view
|
||||
Shape shape;
|
||||
Shape shape = Shape::Rectangle;
|
||||
|
||||
/// The name of the reference frame in which the #bounds are defined
|
||||
std::string frameName;
|
||||
|
||||
@@ -198,7 +198,8 @@ constexpr double convertTime(double t, TimeUnit sourceUnit, TimeUnit destination
|
||||
case TimeUnit::Year:
|
||||
seconds = t * SecondsPerYear;
|
||||
break;
|
||||
default: ;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
switch (destinationUnit) {
|
||||
|
||||
@@ -167,7 +167,7 @@ private:
|
||||
bool _shouldSetTime = false;
|
||||
Time _timeNextFrame;
|
||||
|
||||
bool _timelineChanged;
|
||||
bool _timelineChanged = false;
|
||||
|
||||
double _latestConsumedTimestamp = -std::numeric_limits<double>::max();
|
||||
int _nextCallbackHandle = 0;
|
||||
|
||||
Reference in New Issue
Block a user