Hello Uwe,
Sorry it took me that long to reply. Here is an output of `git format-patch
HEAD~1`.
On Sat, Apr 28, 2018 at 11:49 PM, Uwe Hermann <u...@hermann-uwe.de> wrote:
> Hi,
>
> On Sat, Apr 28, 2018 at 04:24:47PM +0300, Aleksander Alekseev wrote:
> > It's been almost 3 weeks since I submitted this patch and there is no
> > feedback. I would like to know whether this is because maintainers just
> > forgot about it or because something is wrong with the patch?
>
> Oops, sorry, must have missed this one indeed. The patch looks good,
> but please submit the output of "git format-patch HEAD~1" as attachment,
> that's easiest to apply and includes your git name + email + commit
> message etc.
>
> (or even better, point us to a github repo where we can pull from)
>
>
> Cheers, Uwe.
> --
> http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org
>
--
Best regards,
Aleksander Alekseev
From ce7e0c0ecb80d5c78823021146debc9bbcc5412c Mon Sep 17 00:00:00 2001
From: Aleksander Alekseev <afis...@gmail.com>
Date: Wed, 2 May 2018 15:30:41 +0300
Subject: [PATCH] Minor fix that makes Clang Static Analyzer stop complaining
---
session.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/session.c b/session.c
index 4a3878a..60f253f 100644
--- a/session.c
+++ b/session.c
@@ -577,6 +577,12 @@ void run_session(void)
}
}
+ /* This is unlikely to happen but it makes static analyzers stop complaining. */
+ if (!devices) {
+ g_critical("No real devices found.");
+ return;
+ }
+
sdi = devices->data;
g_slist_free(devices);
g_slist_free(real_devices);
--
2.17.0
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel