From: Gerhard Sittig Date: Sun, 9 Jul 2017 08:50:42 +0000 (+0200) Subject: decode: Nit, avoid 'class' identifier for local variable X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4ae9434a93527394229f160dd81a3592c978599d;p=sigrok-cli.git decode: Nit, avoid 'class' identifier for local variable --- diff --git a/decode.c b/decode.c index 2bcc0ae..63817a0 100644 --- a/decode.c +++ b/decode.c @@ -491,7 +491,7 @@ void show_pd_binary(struct srd_proto_data *pdata, void *cb_data) { struct srd_proto_data_binary *pdb; gpointer classp; - int class; + int classi; (void)cb_data; @@ -500,9 +500,9 @@ void show_pd_binary(struct srd_proto_data *pdata, void *cb_data) /* Not in the list of PDs whose meta output we're showing. */ return; - class = GPOINTER_TO_INT(classp); + classi = GPOINTER_TO_INT(classp); pdb = pdata->data; - if (class != -1 && class != pdb->bin_class) + if (classi != -1 && classi != pdb->bin_class) /* Not showing this binary class. */ return;