mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-05 07:06:13 -05:00
UI: Remove unnecessary variables type conversions
Detected by PVS Studio.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user