< prev index next >
src/solaris/native/sun/xawt/XToolkit.c
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -577,11 +577,11 @@
* @param nextTaskTime -1, if there are no tasks; next time when
* timeout task needs to be run, in millis(of currentTimeMillis)
*/
static uint32_t get_poll_timeout(jlong nextTaskTime)
{
- uint32_t ret_timeout;
+ uint32_t ret_timeout = 0;
uint32_t timeout;
uint32_t taskTimeout;
uint32_t flushTimeout;
jlong curTime = awtJNI_TimeMillis();
< prev index next >