[gmime] minor code cleanup to make it easier for static analysis tools to analyze
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] minor code cleanup to make it easier for static analysis tools to analyze
- Date: Sun, 3 Mar 2019 10:23:27 +0000 (UTC)
commit 6219f9121736d5b50d2d14e22ed9430947cf28e8
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date: Thu Dec 13 17:00:46 2018 -0500
minor code cleanup to make it easier for static analysis tools to analyze
gmime/gmime-filter-enriched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gmime/gmime-filter-enriched.c b/gmime/gmime-filter-enriched.c
index adf811ee..54ebb4ee 100644
--- a/gmime/gmime-filter-enriched.c
+++ b/gmime/gmime-filter-enriched.c
@@ -494,7 +494,7 @@ enriched_to_html (GMimeFilter *filter, char *in, size_t inlen, size_t prespace,
}
}
- if (i < G_N_ELEMENTS (enriched_tags)) {
+ if (html_tag != NULL) {
if ((fmt = strstr (html_tag, "%s")) != NULL) {
const char *start;
char *param;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]