[office-runner] Fix a non-bug to quieten static analysis tools like clang
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [office-runner] Fix a non-bug to quieten static analysis tools like clang
- Date: Thu, 15 Sep 2011 10:39:02 +0000 (UTC)
commit dee4e5c568b712701ac1b9fd69d6db42e10854dc
Author: Richard Hughes <richard hughsie com>
Date: Thu Sep 15 11:38:41 2011 +0100
Fix a non-bug to quieten static analysis tools like clang
src/office-runner.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/office-runner.c b/src/office-runner.c
index 9bb3c5a..9e1837a 100644
--- a/src/office-runner.c
+++ b/src/office-runner.c
@@ -120,7 +120,7 @@ static void
switch_to_page (OfficeRunner *run,
int page)
{
- const char *label;
+ const char *label = NULL;
gtk_notebook_set_current_page (GTK_NOTEBOOK (run->notebook), page);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]