Permalink
Browse files

fix: compile warnings on order of initialisation

  • Loading branch information...
1 parent b50597a commit 65a89aa5527e9140c01660475c3cac19a1f6ea2a Jonathan Marshall committed Aug 2, 2014
Showing with 4 additions and 3 deletions.
  1. +1 −1 xbmc/addons/Addon.cpp
  2. +3 −2 xbmc/rendering/RenderSystem.cpp
View
@@ -174,13 +174,13 @@ AddonProps::AddonProps(const cp_extension_t *ext)
AddonProps::AddonProps(const cp_plugin_info_t *plugin)
: id(SS(plugin->identifier))
+ , type(ADDON_UNKNOWN)
, version(SS(plugin->version))
, minversion(SS(plugin->abi_bw_compatibility))
, name(SS(plugin->name))
, path(SS(plugin->plugin_path))
, author(SS(plugin->provider_name))
, stars(0)
- , type(ADDON_UNKNOWN)
{
BuildDependencies(plugin);
}
@@ -20,8 +20,9 @@
#include "RenderSystem.h"
-CRenderSystemBase::CRenderSystemBase() :
- m_stereoMode(RENDER_STEREO_MODE_OFF), m_stereoView(RENDER_STEREO_VIEW_OFF)
+CRenderSystemBase::CRenderSystemBase()
+ : m_stereoView(RENDER_STEREO_VIEW_OFF)
+ , m_stereoMode(RENDER_STEREO_MODE_OFF)
{
m_bRenderCreated = false;
m_bVSync = true;

0 comments on commit 65a89aa

Please sign in to comment.