nel-warning-1.diff
b/code/nel/include/nel/3d/key.h Mon Oct 04 20:17:40 2010 +0200 | ||
---|---|---|
45 | 45 |
typedef T TValueType; |
46 | 46 |
|
47 | 47 |
public: |
48 |
|
|
48 |
CKey() :OODeltaTime(0.f) { } |
|
49 | 49 |
/// Serial |
50 | 50 |
void serial (NLMISC::IStream& f) throw (NLMISC::EStream) |
51 | 51 |
{ |
... | ... | |
81 | 81 |
class CKeyTCB : public CKey<T> |
82 | 82 |
{ |
83 | 83 |
public: |
84 |
|
|
84 |
CKeyTCB() : Ease0(0.f),Ease1(0.f), EaseK(0.f), EaseKOverEase0(0.f), EaseKOverEase1(0.f) { } |
|
85 | 85 |
/// Serial |
86 | 86 |
void serial (NLMISC::IStream& f) throw (NLMISC::EStream) |
87 | 87 |
{ |
b/code/nel/include/nel/3d/track_keyframer.h Mon Oct 04 20:17:40 2010 +0200 | ||
---|---|---|
744 | 744 |
k.Tension= key.Tension; |
745 | 745 |
k.EaseFrom= key.EaseFrom; |
746 | 746 |
k.EaseTo= key.EaseTo; |
747 |
k.TanTo=0.f; |
|
748 |
k.TanFrom=0.f; |
|
747 | 749 |
addKey(k, key.Time); |
748 | 750 |
|
749 | 751 |
return true; |
b/code/nel/include/nel/3d/track_sampled_quat_small_header.h Mon Oct 04 20:17:40 2010 +0200 | ||
---|---|---|
31 | 31 |
class CTrackSampleHeader |
32 | 32 |
{ |
33 | 33 |
public: |
34 |
CTrackSampleHeader () |
|
35 |
: LoopMode(false), BeginTime(0.f), EndTime(0.f), TotalRange(0.f), OOTotalRange(0.f), DeltaTime(0.f), OODeltaTime(0.f) |
|
36 |
{ |
|
37 |
} |
|
34 | 38 |
// Param of animation |
35 | 39 |
bool LoopMode; |
36 | 40 |
float BeginTime; |
b/code/nel/include/nel/misc/geom_ext.h Mon Oct 04 20:17:40 2010 +0200 | ||
---|---|---|
163 | 163 |
public: |
164 | 164 |
|
165 | 165 |
/// Constructor |
166 |
CTriangleUV() {} |
|
166 |
CTriangleUV() :Uv0(0,0),Uv1(0,0),Uv2(0,0) {}
|
|
167 | 167 |
|
168 | 168 |
CTriangleUV &operator=(const CTriangle &tri) |
169 | 169 |
{ |
b/code/nel/include/nel/misc/rgba.h Mon Oct 04 20:17:40 2010 +0200 | ||
---|---|---|
39 | 39 |
public: |
40 | 40 |
|
41 | 41 |
/// Default constructor. do nothing |
42 |
CRGBA() {} |
|
42 |
CRGBA() : R(0), G(0), B(0), A(0) {}
|
|
43 | 43 |
|
44 | 44 |
/** |
45 | 45 |
* Constructor. |
b/code/nel/include/nel/misc/vector.h Mon Oct 04 20:17:40 2010 +0200 | ||
---|---|---|
55 | 55 |
/// @name Object. |
56 | 56 |
//@{ |
57 | 57 |
/// Constructor which does nothing. |
58 |
CVector() {} |
|
58 |
CVector() : x(0), y(0), z(0) {}
|
|
59 | 59 |
/// Constructor . |
60 | 60 |
CVector(float _x, float _y, float _z) : x(_x), y(_y), z(_z) {} |
61 | 61 |
/// Copy Constructor. |
b/code/nel/include/nel/misc/vector_2f.h Mon Oct 04 20:17:40 2010 +0200 | ||
---|---|---|
46 | 46 |
/// @name Object. |
47 | 47 |
//@{ |
48 | 48 |
/// Constructor wich do nothing. |
49 |
CVector2f() {} |
|
49 |
CVector2f() : x(0), y(0) {}
|
|
50 | 50 |
/// Constructor. |
51 | 51 |
CVector2f(float _x, float _y) : x(_x), y(_y) {} |
52 | 52 |
/// Copy Constructor. |
b/code/nel/src/3d/driver/opengl/driver_opengl_material.cpp Mon Oct 04 20:17:40 2010 +0200 | ||
---|---|---|
251 | 251 |
{ |
252 | 252 |
H_AUTO_OGL(CDriverGL_setupMaterial) |
253 | 253 |
CShaderGL* pShader; |
254 |
GLenum glenum; |
|
254 |
GLenum glenum=0;
|
|
255 | 255 |
uint32 touched=mat.getTouched(); |
256 | 256 |
uint stage; |
257 | 257 |
|
b/code/nel/src/misc/task_manager.cpp Mon Oct 04 20:17:40 2010 +0200 | ||
---|---|---|
61 | 61 |
void CTaskManager::run(void) |
62 | 62 |
{ |
63 | 63 |
IRunnable *runnableTask; |
64 |
float priorityTask; |
|
64 |
float priorityTask=0.f;
|
|
65 | 65 |
while(_ThreadRunning) |
66 | 66 |
{ |
67 | 67 |
{ |
b/code/nel/src/sound/sample_bank_manager.cpp Mon Oct 04 20:17:40 2010 +0200 | ||
---|---|---|
36 | 36 |
|
37 | 37 |
namespace NLSOUND { |
38 | 38 |
|
39 |
CSampleBankManager::CSampleBankManager(CAudioMixerUser *audioMixer) : m_AudioMixer(audioMixer), m_LoadedSize(NULL)
|
|
39 |
CSampleBankManager::CSampleBankManager(CAudioMixerUser *audioMixer) : m_AudioMixer(audioMixer), m_LoadedSize(0)
|
|
40 | 40 |
{ |
41 | 41 |
|
42 | 42 |
} |
b/code/nel/tools/3d/shapes_exporter/shapes_exporter.cpp Mon Oct 04 20:17:40 2010 +0200 | ||
---|---|---|
843 | 843 |
if(!saveOneImage(filename)) |
844 | 844 |
return false; |
845 | 845 |
} |
846 |
if(time >= 30.0 || nbparticle == 0 && startTime > 0.0f || duration != 0.0f && time > duration)
|
|
846 |
if(time >= 30.0 || (nbparticle == 0 && startTime > 0.0f) || (duration != 0.0f && time > duration) )
|
|
847 | 847 |
break; |
848 | 848 |
} |
849 | 849 |
|