cui/source/options/optchart.cxx | 1 - 1 file changed, 1 deletion(-) New commits: commit 15fd2231401912a83d7c3a602cab5b9737a9d817 Author: Muhammet Kara <muhammet.k...@collabora.com> AuthorDate: Sun Jun 9 21:32:09 2019 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Sun Jun 9 22:10:18 2019 +0200
Remove unread value nPos Value stored to 'nPos' is never read Change-Id: I80af0da43de4c842e9831b25506ad654bfe82611 Reviewed-on: https://gerrit.libreoffice.org/73738 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.k...@collabora.com> diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index 0347f7ad4de9..ea96b8bfbde6 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -54,7 +54,6 @@ void SvxDefaultColorOptPage::InsertColorEntry(const XColorEntry& rEntry, sal_Int else { aColorList.push_back( rColor ); - nPos = aColorList.size() - 1; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits