projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid a warning from g++ 4.3.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
guid.cpp
diff --git
a/synfig-core/trunk/src/synfig/guid.cpp
b/synfig-core/trunk/src/synfig/guid.cpp
index
1369aba
..
db0e149
100644
(file)
--- a/
synfig-core/trunk/src/synfig/guid.cpp
+++ b/
synfig-core/trunk/src/synfig/guid.cpp
@@
-6,6
+6,7
@@
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-91,7
+92,7
@@
static void (*get_rand_long_long)(uint64_t&)=_set_up_rand_long_long;
static void _set_up_rand_long_long(uint64_t &x)
{
#ifdef _DEBUG
static void _set_up_rand_long_long(uint64_t &x)
{
#ifdef _DEBUG
- synfig::info("Starting up GUID system...");
+
//
synfig::info("Starting up GUID system...");
#endif
_a=GUID_RNG(time(0)+clock());
_b=GUID_RNG(clock());
#endif
_a=GUID_RNG(time(0)+clock());
_b=GUID_RNG(clock());
@@
-129,7
+130,7
@@
static void (*get_rand_long_long)(uint64_t&)=_set_up_rand_long_long;
static void _set_up_rand_long_long(uint64_t &x)
{
#ifdef _DEBUG
static void _set_up_rand_long_long(uint64_t &x)
{
#ifdef _DEBUG
- synfig::info("Starting up GUID system...");
+
//
synfig::info("Starting up GUID system...");
#endif
rand_fd=open("/dev/urandom",O_RDONLY);
get_rand_long_long=_get_rand_long_long;
#endif
rand_fd=open("/dev/urandom",O_RDONLY);
get_rand_long_long=_get_rand_long_long;