Permalink
Browse files

Remove unused panel variable.

  • Loading branch information...
stevenlovegrove committed Dec 6, 2013
1 parent ddb733c commit 5625b9e14c76c6dcf8baead5cafcf91193f4c7d5
Showing with 2 additions and 2 deletions.
  1. +1 −1 examples/SimpleDisplay/main.cpp
  2. +1 −1 examples/SimpleRepeatVideo/main.cpp
@@ -59,7 +59,7 @@ int main( int /*argc*/, char* argv[] )
// Add named Panel and bind to variables beginning 'ui'
// A Panel is just a View with a default layout and input handling
- View& d_panel = pangolin::CreatePanel("ui")
+ pangolin::CreatePanel("ui")
.SetBounds(0.0, 1.0, 0.0, Attach::Pix(UI_WIDTH));
// Demonstration of how we can register a keyboard hook to alter a Var
@@ -28,7 +28,7 @@ void RecordSample(const std::string uri, const std::string vid_file, const std::
pangolin::CreateWindowAndBind("Main",w + panel_width,h);
// Create viewport for video with fixed aspect
- View& d_panel = pangolin::CreatePanel("ui.")
+ pangolin::CreatePanel("ui.")
.SetBounds(0.0, 1.0, 0.0, Attach::Pix(panel_width));
View& vVideo = Display("Video")

0 comments on commit 5625b9e

Please sign in to comment.