Merge lp:~vanvugt/unity/fix-1036514 into lp:unity

Proposed by Daniel van Vugt
Status: Merged
Approved by: Sam Spilsbury
Approved revision: no longer in the source branch.
Merged at revision: 2564
Proposed branch: lp:~vanvugt/unity/fix-1036514
Merge into: lp:unity
Diff against target: 14 lines (+2/-2)
1 file modified
unity-shared/IconRenderer.cpp (+2/-2)
To merge this branch: bzr merge lp:~vanvugt/unity/fix-1036514
Reviewer Review Type Date Requested Status
Sam Spilsbury (community) Approve
Review via email: mp+119475@code.launchpad.net

Commit message

Fix uninitialized variable warnings, causing build failure (LP: #1036514)

You'd only see these errors if you build lp:unity with:
  -DUSE_MODERN_COMPIZ_GL=ON

Description of the change

Fix uninitialized variable warnings, causing build failure (LP: #1036514)

You'd only see these errors if you build lp:unity with:
  -DUSE_MODERN_COMPIZ_GL=ON

To post a comment you must log in.
Revision history for this message
Sam Spilsbury (smspillaz) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'unity-shared/IconRenderer.cpp'
2--- unity-shared/IconRenderer.cpp 2012-07-30 17:29:12 +0000
3+++ unity-shared/IconRenderer.cpp 2012-08-14 06:58:32 +0000
4@@ -757,8 +757,8 @@
5 CHECKGL(glBindBufferARB(GL_ARRAY_BUFFER_ARB, 0));
6 CHECKGL(glBindBufferARB(GL_ELEMENT_ARRAY_BUFFER_ARB, 0));
7
8- int VertexLocation;
9- int TextureCoord0Location;
10+ int VertexLocation = -1;
11+ int TextureCoord0Location = -1;
12 int FragmentColor = 0;
13 int ColorifyColor = 0;
14 int DesatFactor = 0;