You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2017/01/07 01:02:53 UTC

orc git commit: ORC-127: Fix Coverity bug report. (Deepak Majeti via omalley)

Repository: orc
Updated Branches:
  refs/heads/master 6bf63bb1e -> 0ea13fc08


ORC-127: Fix Coverity bug report. (Deepak Majeti via omalley)

Fixes #77

Signed-off-by: Owen O'Malley <om...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/orc/repo
Commit: http://git-wip-us.apache.org/repos/asf/orc/commit/0ea13fc0
Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/0ea13fc0
Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/0ea13fc0

Branch: refs/heads/master
Commit: 0ea13fc0865be10276ee134defbf778fc80c35a5
Parents: 6bf63bb
Author: Deepak Majeti <de...@hpe.com>
Authored: Thu Jan 5 20:30:28 2017 -0500
Committer: Owen O'Malley <om...@apache.org>
Committed: Fri Jan 6 17:02:07 2017 -0800

----------------------------------------------------------------------
 c++/src/Reader.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/orc/blob/0ea13fc0/c++/src/Reader.cc
----------------------------------------------------------------------
diff --git a/c++/src/Reader.cc b/c++/src/Reader.cc
index 3c618b2..501336b 100644
--- a/c++/src/Reader.cc
+++ b/c++/src/Reader.cc
@@ -225,6 +225,7 @@ namespace orc {
     currentStripe = numberOfStripes;
     lastStripe = 0;
     currentRowInStripe = 0;
+    rowsInCurrentStripe = 0;
     uint64_t rowTotal = 0;
 
     firstRowOfStripe.resize(numberOfStripes);