UI: Remove unnecessary variables type conversions
Detected by PVS Studio.
This commit is contained in:
parent
43f12d1fbd
commit
820fba2d7f
3 changed files with 6 additions and 15 deletions
|
|
@ -6371,9 +6371,8 @@ void OBSBasic::UploadLog(const char *subdir, const char *file, const bool crash)
|
|||
logUploadThread->wait();
|
||||
}
|
||||
|
||||
RemoteTextThread *thread =
|
||||
new RemoteTextThread("https://obsproject.com/logs/upload",
|
||||
"text/plain", ss.str().c_str());
|
||||
RemoteTextThread *thread = new RemoteTextThread(
|
||||
"https://obsproject.com/logs/upload", "text/plain", ss.str());
|
||||
|
||||
logUploadThread.reset(thread);
|
||||
if (crash) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue