Skip to content

Commit

Permalink
Fix wornings in Xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
ereator committed Feb 21, 2019
1 parent ff7d97d commit aff8ef5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions demos/Demo Param Estimation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ void print_help(char *argv0)
int main(int argc, char *argv[])
{
const Size imgSize = Size(400, 400);
const int width = imgSize.width;
const int height = imgSize.height;
const byte nStates = 6; // {road, traffic island, grass, agriculture, tree, car}
const word nFeatures = 3;

Expand Down
2 changes: 1 addition & 1 deletion modules/DGM/Powell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ namespace DirectGraphicalModels
, m_vDeltas(nParams)
, m_vMin(nParams)
, m_vMax(nParams)
, m_vConverged(nParams)
, m_vKappa(3)
, m_vConverged(nParams)
{
reset();
}
Expand Down
3 changes: 2 additions & 1 deletion modules/VIS/MarkerGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,10 @@ namespace DirectGraphicalModels { namespace vis
namespace {
void LoadShaders(GLuint &NodeProgramID, GLuint &EdgeProgramID)
{
#ifdef DEBUG_MODE
GLint Result = GL_FALSE;
int InfoLogLength = 0;

#endif
// -------------- Vertex Shader --------------
GLuint VertexShaderID = glCreateShader(GL_VERTEX_SHADER);
{
Expand Down

0 comments on commit aff8ef5

Please sign in to comment.