Commit f011be9c authored by Emmanuele Bassi's avatar Emmanuele Bassi

Initialize a variable

Compilers get confused when variables are initialized by a function by
taking them as reference in an out argument; this, coupled with the fact
that C does not initialize variables by default, most commonly results
in a "maybe uninitialized" compiler warning.
parent 8423e59e
Pipeline #60226 passed with stages
in 18 minutes and 40 seconds
......@@ -1860,7 +1860,7 @@ test_strinfo (void)
const guint32 *strinfo = (guint32 *) array;
guint length = sizeof array / 4;
guint result;
guint result = 0;
/* build it and compare */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment