extensions/source/scanner/sanedlg.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 415059bddf329feaf3a7b769e70f8641bdfffca6 Author: Julien Nabet <serval2...@yahoo.fr> Date: Sat Mar 18 11:29:50 2017 +0100 cppcheck: workaround nullpointer false positive with an assert Change-Id: Ib94d64ed5076b5603e99fa9632d25e85395b6ff1 Reviewed-on: https://gerrit.libreoffice.org/35395 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index 951b0d2dbb09..50033df310a9 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -396,6 +396,7 @@ void SaneDlg::InitFields() nValue = mrSane.GetRange( nOption, pDouble ); if( nValue > -1 ) { + assert(pDouble); if( nValue ) { mpReslBox->SetMin( (long)pDouble[0] ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits