WaE: C6011 Dereferencing NULL pointer warnings
convert OSL_ASSERT to assert Change-Id: I047b5987734c14e05c9be89db297749c36a0a26f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166922 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
@@ -125,7 +125,7 @@ void Includes::add(OString const & entityName) {
|
|||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
void dumpEmptyLineBeforeFirst(FileStream & out, bool * first) {
|
void dumpEmptyLineBeforeFirst(FileStream & out, bool * first) {
|
||||||
OSL_ASSERT(first != nullptr);
|
assert(first != nullptr);
|
||||||
if (*first) {
|
if (*first) {
|
||||||
out << "\n";
|
out << "\n";
|
||||||
*first = false;
|
*first = false;
|
||||||
|
Reference in New Issue
Block a user