From 48d9b4d5a5e0cd74487076834c8545a9c1545aa8 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 23 Dec 2020 18:50:52 -0500 Subject: [PATCH] Remove unused variables --- src/zm_monitorstream.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/zm_monitorstream.cpp b/src/zm_monitorstream.cpp index aad668857..f89374d74 100644 --- a/src/zm_monitorstream.cpp +++ b/src/zm_monitorstream.cpp @@ -502,8 +502,6 @@ void MonitorStream::runStream() { temp_read_index = temp_image_buffer_count; temp_write_index = temp_image_buffer_count; - struct timeval last_frame_time; - std::string swap_path; bool buffered_playback = false; @@ -701,7 +699,6 @@ void MonitorStream::runStream() { // Send the next frame // ZMPacket *snap = &monitor->image_buffer[index]; - Image *image = snap->image;// This works because connect rebuilds the image_buffer links struct timeval *timestamp = snap->timestamp; if ( !sendFrame(snap->image, snap->timestamp) ) {