aboutsummaryrefslogtreecommitdiff
path: root/xbmc/filesystem/PluginDirectory.cpp
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2014-11-22 00:18:02 +0100
committerfritsch <Peter.Fruehberger@gmail.com>2014-12-29 12:17:34 +0100
commite5e15528046e0a0ec56b3fa38917ce22cc93fcac (patch)
tree718af77cc0a8e27a3526686736e84d04cee85e87 /xbmc/filesystem/PluginDirectory.cpp
parent31f44af91a2cfd6f4d74264e4f1d33172cd52958 (diff)
fixed: CID 1228826 Logically dead code
The indicated dead code may have performed some action; that action will never occur. In XFILE::​CPluginDirectory::​WaitOnScriptResult(std::​basic_string<char, std::​char_traits<char>, std::​allocator<char>> const&, int, std::​basic_string<char, std::​char_traits<char>, std::​allocator<char>> const&, bool): Code can never be reached because of a logical contradiction (CWE-561) This is a missing part from 834e3b50
Diffstat (limited to 'xbmc/filesystem/PluginDirectory.cpp')
-rw-r--r--xbmc/filesystem/PluginDirectory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/filesystem/PluginDirectory.cpp b/xbmc/filesystem/PluginDirectory.cpp
index 3d8d7301f6..4237d6bf38 100644
--- a/xbmc/filesystem/PluginDirectory.cpp
+++ b/xbmc/filesystem/PluginDirectory.cpp
@@ -502,10 +502,10 @@ bool CPluginDirectory::WaitOnScriptResult(const std::string &scriptPath, int scr
if (progressBar)
{
progressBar->SetHeading(scriptName);
- progressBar->SetLine(0, retrievingDir ? 1040 : 10214);
+ progressBar->SetLine(0, 10214);
progressBar->SetLine(1, "");
progressBar->SetLine(2, "");
- progressBar->ShowProgressBar(retrievingDir);
+ progressBar->ShowProgressBar(false);
progressBar->StartModal();
}
}