Some minor fixups to resolve clang warning and errors from session-refactor.

This commit is contained in:
John Ralls 2016-06-09 15:28:39 -07:00
parent 1c00937abe
commit ce190e3485
3 changed files with 3 additions and 2 deletions

View File

@ -83,7 +83,7 @@ gnc_value_get_guid (const GValue *value)
return val;
}
static GncGUID s_null_guid {{0}};
static GncGUID s_null_guid {{{0}}};
/*It looks like we are expected to provide the same pointer every time from this function*/
const GncGUID *

View File

@ -20,6 +20,7 @@
* Boston, MA 02110-1301, USA gnu@gnu.org *
\********************************************************************/
#include "../guid.hpp"
extern "C"
{
#include "config.h"

View File

@ -23,10 +23,10 @@
********************************************************************/
#include <gtest/gtest.h>
#include "../guid.hpp"
#include <qofsession.hpp>
#include "qofbackend-p.h"
#include <cstdlib>
#include "../guid.hpp"
#include "../gnc-backend-prov.hpp"
static QofBook * exported_book {nullptr};