File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -2306,6 +2306,7 @@ process_monitor_stream(struct stream *s, int full_parameters) {
23062306 int NumMonitor ;
23072307 struct monitor_info * monitor_layout ;
23082308 struct xrdp_rect rect = {8192 , 8192 , -8192 , -8192 };
2309+ int got_primary = 0 ;
23092310
23102311 in_uint32_le (s , NumMonitor );
23112312 LOG (LOG_LEVEL_DEBUG , " NumMonitor %d" , NumMonitor );
@@ -2320,8 +2321,6 @@ process_monitor_stream(struct stream *s, int full_parameters) {
23202321
23212322 description -> monitorCount = NumMonitor ;
23222323
2323- int got_primary = 0 ;
2324-
23252324 for (int monitor_index = 0 ; monitor_index < NumMonitor ; ++ monitor_index )
23262325 {
23272326 if (!s_check_rem_and_log (s , full_parameters == 0 ? 20 : 40 , "Parsing monitor definitions." ))
You can’t perform that action at this time.
0 commit comments