From eac883a401e4b2262ed97aa8be81c4068329fb68 Mon Sep 17 00:00:00 2001 From: Gary Buhrmaster Date: Mon, 1 Jul 2013 19:27:58 +0100 Subject: [PATCH] Copy m_nice and m_ioprio values from other in ctor It appears that when commit 201407310b183210ab58b5030abf656e797bae39 added the m_ioprio and m_nice member variables that the constructor was not updated to copy those values. Fixes Coverity 1028696 Fixes #11626. Signed-off-by: Paul Harrison --- mythtv/libs/libmythbase/mythsystemlegacy.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mythtv/libs/libmythbase/mythsystemlegacy.cpp b/mythtv/libs/libmythbase/mythsystemlegacy.cpp index 04edd79a5a5..1bc8916f38a 100644 --- a/mythtv/libs/libmythbase/mythsystemlegacy.cpp +++ b/mythtv/libs/libmythbase/mythsystemlegacy.cpp @@ -181,6 +181,9 @@ MythSystemLegacy::MythSystemLegacy(const MythSystemLegacy &other) : m_args(other.m_args), m_directory(other.m_directory), + m_nice(other.m_nice), + m_ioprio(other.m_ioprio), + m_settings(other.m_settings) { m_semReady.release(other.m_semReady.available());