Fix for 'use of uninitialized' warning.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13313 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Chris Shoemaker
2006-02-20 02:58:29 +00:00
parent 27d5ac3cf2
commit ceebdbd6c7

View File

@@ -1527,7 +1527,7 @@ static QofQueryOp
get_random_queryop(void)
{
int op_num = get_random_int_in_range(1,11);
QofQueryOp op;
QofQueryOp op = QOF_QUERY_AND;
/* = get_random_int_in_range (1, QOF_QUERY_XOR); */
/* Let's make it MUCH more likely to get AND and OR */