Update treeitemmodel.cpp

No need to initialize variable 'success' as it is assigned a value afterwards in any case