Skip to content

Commit

Permalink
Copy m_nice and m_ioprio values from other in ctor
Browse files Browse the repository at this point in the history
It appears that when commit 2014073
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 <pharrison@mythtv.org>
  • Loading branch information
garybuhrmaster authored and Paul Harrison committed Jul 1, 2013
1 parent b37d3cf commit eac883a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/libs/libmythbase/mythsystemlegacy.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit eac883a

Please sign in to comment.