[Reproducible-commits] [dpkg] 44/61: dselect: Initialize all baselist member variables
Jérémy Bobbio
lunar at moszumanska.debian.org
Mon Sep 21 09:57:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository dpkg.
commit a603506740df8e83d441c72f1de234b9ba709693
Author: Guillem Jover <guillem at debian.org>
Date: Thu Sep 17 02:03:53 2015 +0200
dselect: Initialize all baselist member variables
Warned-by: coverity
---
dselect/baselist.cc | 31 +++++++++++++++++++++++++++++--
1 file changed, 29 insertions(+), 2 deletions(-)
diff --git a/dselect/baselist.cc b/dselect/baselist.cc
index ffde95e..0536c89 100644
--- a/dselect/baselist.cc
+++ b/dselect/baselist.cc
@@ -301,10 +301,37 @@ baselist::baselist(keybindings *kb) {
total_width = max(TOTAL_LIST_WIDTH, COLS);
xmax= -1;
- list_height=0; info_height=0;
- topofscreen= 0; leftofscreen= 0;
+ ymax = -1;
+
+ list_height = 0;
+ info_height = 0;
+ title_height = 0;
+ whatinfo_height = 0;
+ colheads_height = 0;
+ thisstate_height = 0;
+
+ list_row = 0;
+ info_row = 0;
+ whatinfo_row = 0;
+ colheads_row = 0;
+ thisstate_row = 0;
+
+ topofscreen = 0;
+ leftofscreen = 0;
+ infotopofscreen = 0;
+ infolines = 0;
+
listpad = nullptr;
+ infopad = nullptr;
+ colheadspad = nullptr;
+ thisstatepad = nullptr;
+ titlewin = nullptr;
+ querywin = nullptr;
+ whatinfowin = nullptr;
+
cursorline = -1;
+ ldrawnstart = 0;
+ ldrawnend = 0;
showinfo= 1;
searchstring[0]= 0;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list