diff options
author | unknown <marko@hundin.mysql.fi> | 2005-01-05 12:22:04 +0200 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2005-01-05 12:22:04 +0200 |
commit | 0f8b518bee2fb0a6668095af90781688304cc85b (patch) | |
tree | 4a4546daaebeab6bcba0131b003b0892b0cfff5a /innobase/sync | |
parent | 509554c3cd843d02d164fee351b36a5efa5c334e (diff) | |
download | mariadb-git-0f8b518bee2fb0a6668095af90781688304cc85b.tar.gz |
InnoDB: Fix compiler warnings and some bad formatting introduced
in ChangeSet@1.1721.48.1
innobase/include/ut0ut.h:
Add prototype for ut_usectime()
innobase/srv/srv0srv.c:
Fix some misformatted code.
Remove a compiler warning about possibly uninitialized variable
in srv_suspend_mysql_thread().
innobase/sync/sync0sync.c:
Remove a compiler warning about possibly uninitialized variable
in mutex_spin_wait().
innobase/ut/ut0ut.c:
Improve the documentation and formatting of ut_usectime().
Diffstat (limited to 'innobase/sync')
-rw-r--r-- | innobase/sync/sync0sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/sync/sync0sync.c b/innobase/sync/sync0sync.c index 317455f57a3..788965f82ef 100644 --- a/innobase/sync/sync0sync.c +++ b/innobase/sync/sync0sync.c @@ -368,7 +368,7 @@ mutex_spin_wait( { ulint index; /* index of the reserved wait cell */ ulint i; /* spin round count */ - ib_longlong lstart_time, lfinish_time; /* for timing os_wait */ + ib_longlong lstart_time = 0, lfinish_time; /* for timing os_wait */ ulint ltime_diff; ulint sec; ulint ms; |