projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9166df3
)
Fixed variable hiding by not redeclaring it in subscope.
author
Armin Novak
<armin.novak@thincast.com>
Mon, 10 Dec 2018 13:31:38 +0000
(14:31 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Mon, 10 Dec 2018 13:31:38 +0000
(14:31 +0100)
client/Windows/wf_client.c
patch
|
blob
|
history
diff --git
a/client/Windows/wf_client.c
b/client/Windows/wf_client.c
index
74db0e4
..
3cd396d
100644
(file)
--- a/
client/Windows/wf_client.c
+++ b/
client/Windows/wf_client.c
@@
-284,7
+284,7
@@
static void wf_add_system_menu(wfContext* wfc)
static WCHAR* wf_window_get_title(rdpSettings* settings)
{
BOOL port;
- WCHAR* windowTitle;
+ WCHAR* windowTitle
= NULL
;
size_t size;
char* name;
WCHAR prefix[] = L"FreeRDP:";
@@
-296,7
+296,6
@@
static WCHAR* wf_window_get_title(rdpSettings* settings)
if (settings->WindowTitle)
{
- WCHAR* windowTitle = NULL;
ConvertToUnicode(CP_UTF8, 0, settings->WindowTitle, -1, &windowTitle, 0);
return windowTitle;
}