×
Close
The permissions on this repository are being updated. This may take a while.
During this time, you or some of the project's contributors may not be able
to push to this repository.
Blame SOURCES/0145-cli-remove-useless-code-from-print_crash.patch
Branch: f69b7014e217bc6d98e8afdbc39d1e8360d15676
47a88a
From bb703d67bbb82ab0b71c9fc7560754f943dc86be Mon Sep 17 00:00:00 2001
47a88a
From: Jakub Filak <jfilak@redhat.com>
47a88a
Date: Thu, 9 Jul 2015 11:54:15 +0200
47a88a
Subject: [PATCH] cli: remove useless code from print_crash()
47a88a
47a88a
Revealed by coverity.
47a88a
47a88a
Related: #1224984
47a88a
47a88a
Signed-off-by: Jakub Filak <jfilak@redhat.com>
47a88a
---
47a88a
src/cli/list.c | 3 +--
47a88a
1 file changed, 1 insertion(+), 2 deletions(-)
47a88a
47a88a
diff --git a/src/cli/list.c b/src/cli/list.c
47a88a
index 909d36d..49c3e30 100644
47a88a
--- a/src/cli/list.c
47a88a
+++ b/src/cli/list.c
47a88a
@@ -63,11 +63,10 @@ static void print_crash(problem_data_t *problem_data, int detailed, int text_siz
47a88a
char *desc;
47a88a
if (detailed)
47a88a
{
47a88a
- int show_multiline = (detailed ? MAKEDESC_SHOW_MULTILINE : 0);
47a88a
desc = make_description(problem_data,
47a88a
/*names_to_skip:*/ NULL,
47a88a
/*max_text_size:*/ text_size,
47a88a
- MAKEDESC_SHOW_FILES | show_multiline);
47a88a
+ MAKEDESC_SHOW_FILES | MAKEDESC_SHOW_MULTILINE);
47a88a
}
47a88a
else
47a88a
{
47a88a
--
47a88a
2.4.3
47a88a