From 26f9e380d9f165c15bca8ccf2b6ef7ce2b50add0 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 14 Sep 2012 18:00:06 +0000 Subject: [PATCH] - client: Initialize the total mem size_t. svn path=/trunk/boinc/; revision=26116 --- checkin_notes | 6 ++++++ client/gpu_nvidia.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 2a1ef2c5e1..ad5e49f9f4 100644 --- a/checkin_notes +++ b/checkin_notes @@ -5956,3 +5956,9 @@ David 13 Sept 2012 sched/ sched_array.cpp + +Rom 13 Sept 2012 + - client: Initialize the total mem size_t. + + client/ + gpu_nvidia.cpp diff --git a/client/gpu_nvidia.cpp b/client/gpu_nvidia.cpp index cc0a9824c0..098dce89fb 100644 --- a/client/gpu_nvidia.cpp +++ b/client/gpu_nvidia.cpp @@ -286,7 +286,7 @@ void COPROC_NVIDIA::get( int j, itemp; unsigned int i; - size_t global_mem; + size_t global_mem = 0; COPROC_NVIDIA cc; string s; for (j=0; j