From d99762f8525a0ce2e6507594e328ba2544e1bd9c Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sun, 30 Jan 2011 15:19:50 +0000 Subject: [PATCH] fix werrnings git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1097 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/000cbfb525dc0ea329b833d6d58b24776997701c Author: Jacek Jendrzej Date: 2011-01-30 (Sun, 30 Jan 2011) Origin message was: ------------------ -fix werrnings git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1097 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/driver/stream2file.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/driver/stream2file.cpp b/src/driver/stream2file.cpp index ef87e873c..c6a836c44 100644 --- a/src/driver/stream2file.cpp +++ b/src/driver/stream2file.cpp @@ -157,7 +157,7 @@ stream2file_error_msg_t stop_recording(const char * const info) char buf[FILENAMEBUFFERSIZE]; char buf1[FILENAMEBUFFERSIZE]; int fd; - stream2file_error_msg_t ret; + stream2file_error_msg_t ret = STREAM2FILE_RECORDING_THREADS_FAILED; //if(!autoshift || autoshift_delete) { @@ -198,7 +198,7 @@ stream2file_error_msg_t stop_recording(const char * const info) stream2file_error_msg_t update_recording(const char * const info, const unsigned short vpid, const unsigned short * const pids, const unsigned int numpids) { - stream2file_error_msg_t ret; +// stream2file_error_msg_t ret; char buf[FILENAMEBUFFERSIZE]; int fd; @@ -214,5 +214,5 @@ stream2file_error_msg_t update_recording(const char * const info, const unsigned if(g_current_channel) cam0->setCaPmt(g_current_channel->getCaPmt(), DEMUX_SOURCE_0, cam0->getCaMask() | DEMUX_DECODE_0 | DEMUX_DECODE_2, true); - return ret; + return STREAM2FILE_OK /*ret*/; }