diff --git a/lib/libtuxtxt/tuxtxt_common.h b/lib/libtuxtxt/tuxtxt_common.h index c5c8dd07a..0251dd7a4 100644 --- a/lib/libtuxtxt/tuxtxt_common.h +++ b/lib/libtuxtxt/tuxtxt_common.h @@ -593,9 +593,9 @@ void *tuxtxt_CacheThread(void * /*arg*/) tstPageinfo *pageinfo_thread; set_threadname("tuxtxt:cache"); - printf("TuxTxt running thread...(%04x)\n",tuxtxt_cache.vtxtpid); + int err = nice(3); + printf("TuxTxt running thread...(%04x)%s\n",tuxtxt_cache.vtxtpid,err!=0?" nice error":""); tuxtxt_cache.receiving = 1; - nice(3); while (!stop_cache) { /* check stopsignal */ diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index 5a4b94281..9254e5e4f 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -739,7 +739,7 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6 #ifdef KEYBOARD_INSTEAD_OF_REMOTE_CONTROL if (FD_ISSET(fd_keyb, &rfds)) { - uint32_t trkey; + uint32_t trkey = 0; char key = 0; read(fd_keyb, &key, sizeof(key)); diff --git a/src/gui/hdd_menu.cpp b/src/gui/hdd_menu.cpp index 8099f411f..9e761455a 100644 --- a/src/gui/hdd_menu.cpp +++ b/src/gui/hdd_menu.cpp @@ -746,6 +746,7 @@ bool CHDDMenuHandler::scanDevices() hdd.mounted = false; hdd.fmt = ""; hdd.desc = hdd.devname; + hdd.cmf = NULL; hdd_list.push_back(hdd); } diff --git a/src/gui/moviebrowser/mb.cpp b/src/gui/moviebrowser/mb.cpp index 3d97de240..08f871200 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -604,6 +604,8 @@ void CMovieBrowser::initRows(void) void CMovieBrowser::defaultSettings(MB_SETTINGS* /*settings*/) { MBStorageSettings tmp_store; + tmp_store.storageDirRecUsed = 0; + tmp_store.storageDirMovieUsed = 0; bool keep = false; if (ShowMsg(LOCALE_MOVIEBROWSER_LOAD_DEFAULT, LOCALE_MOVIEBROWSER_MESSAGE_KEEP_STORAGE_SETTINGS, CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NEUTRINO_ICON_QUESTION) == CMsgBox::mbrYes) @@ -2991,7 +2993,7 @@ void CMovieBrowser::loadAllTsFileNamesFromStorage(void) } } - TRACE("[mb] Dir %d, Files: %d, size %u, used_dirs %u\n", (int)m_dirNames.size(), (int)m_vMovieInfo.size(), size, used_dirs); + TRACE("[mb] Dir %d, Files: %d, size %zu, used_dirs %zu\n", (int)m_dirNames.size(), (int)m_vMovieInfo.size(), size, used_dirs); } bool CMovieBrowser::gotMovie(const char *rec_title)