My code is
bool* old;
*old = false;
bool* ne;
*ne = true;
And the error is:
benchmarks/tpcc_txn.cpp:657:6: error: ‘old’ is used uninitialized in this function [-Werror=uninitialized]
*old = false;
benchmarks/tpcc_txn.cpp:659:5: error: ‘ne’ is used uninitialized in this function [-Werror=uninitialized]
*ne = true;
~~~~^~~~~~
It does not make any sense to me since I just declare it and tries to assign a value to it.