[libgsf] Fix another "Result of operation is garbage or undefined" detected by clang
- From: J.H.M. Dassen (Ray) <jdassen src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsf] Fix another "Result of operation is garbage or undefined" detected by clang
- Date: Thu, 19 Aug 2010 20:58:18 +0000 (UTC)
commit 9159c48be10f008f4bf06a2d0811ba8f327bcb1a
Author: J.H.M. Dassen (Ray) <jdassen debian org>
Date: Thu Aug 19 22:57:12 2010 +0200
Fix another "Result of operation is garbage or undefined" detected by clang
gsf/gsf-msole-utils.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gsf/gsf-msole-utils.c b/gsf/gsf-msole-utils.c
index 83b5bec..28c56a9 100644
--- a/gsf/gsf-msole-utils.c
+++ b/gsf/gsf-msole-utils.c
@@ -1526,6 +1526,8 @@ msole_metadata_write_section (WritePropState *state, gboolean user)
} else
i = 1;
+ offsets[i].offset = gsf_output_tell (state->out);
+
/* 2) props */
for (; ptr != NULL && i < count ; ptr = ptr->next, i++) {
offsets[i].offset = gsf_output_tell (state->out);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]