[Libreoffice-commits] core.git: basic/source

Arnaud Versini (via logerrit) logerrit at kemper.freedesktop.org
Sun Sep 6 16:28:19 UTC 2020


 basic/source/comp/buffer.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 1d67beea593fa43f0bd782c0ce15b6a85042e33c
Author:     Arnaud Versini <arnaud.versini at libreoffice.org>
AuthorDate: Sun Sep 6 15:37:46 2020 +0200
Commit:     Arnaud Versini <arnaud.versini at libreoffice.org>
CommitDate: Sun Sep 6 18:27:43 2020 +0200

    BASIC : useless std::unique_ptr initialisation
    
    Change-Id: I841cbb2bad3af5f6f6212962d7f15436d5e7bead
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102105
    Tested-by: Jenkins
    Reviewed-by: Arnaud Versini <arnaud.versini at libreoffice.org>

diff --git a/basic/source/comp/buffer.cxx b/basic/source/comp/buffer.cxx
index 3d8f6623c525..bbc3c351f5ae 100644
--- a/basic/source/comp/buffer.cxx
+++ b/basic/source/comp/buffer.cxx
@@ -33,7 +33,6 @@ SbiBuffer::SbiBuffer( SbiParser* p, short n )
     pParser = p;
     n = ( (n + 15 ) / 16 ) * 16;
     if( !n ) n = 16;
-    pBuf  = nullptr;
     pCur  = nullptr;
     nInc  = n;
     nSize =


More information about the Libreoffice-commits mailing list