Remove unused variables
This commit is contained in:
parent
f934a6bbaf
commit
48d9b4d5a5
|
@ -502,8 +502,6 @@ void MonitorStream::runStream() {
|
||||||
temp_read_index = temp_image_buffer_count;
|
temp_read_index = temp_image_buffer_count;
|
||||||
temp_write_index = temp_image_buffer_count;
|
temp_write_index = temp_image_buffer_count;
|
||||||
|
|
||||||
struct timeval last_frame_time;
|
|
||||||
|
|
||||||
std::string swap_path;
|
std::string swap_path;
|
||||||
bool buffered_playback = false;
|
bool buffered_playback = false;
|
||||||
|
|
||||||
|
@ -701,7 +699,6 @@ void MonitorStream::runStream() {
|
||||||
// Send the next frame
|
// Send the next frame
|
||||||
//
|
//
|
||||||
ZMPacket *snap = &monitor->image_buffer[index];
|
ZMPacket *snap = &monitor->image_buffer[index];
|
||||||
Image *image = snap->image;// This works because connect rebuilds the image_buffer links
|
|
||||||
struct timeval *timestamp = snap->timestamp;
|
struct timeval *timestamp = snap->timestamp;
|
||||||
|
|
||||||
if ( !sendFrame(snap->image, snap->timestamp) ) {
|
if ( !sendFrame(snap->image, snap->timestamp) ) {
|
||||||
|
|
Loading…
Reference in New Issue