Pavel Pisa commented on a discussion on cpukit/dev/can/ctucanfd/ctucanfd.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/49#note_108447

 > +                where, i, priv->txb_order, priv->ntxbufs, 
 > priv->txb_prio_tail[0] );
 > +        ret = -1;
 > +      }
 > +    }
 > +  }
 > +  return ret;
 > +}
 > +
 > +#else /*CTUCANFD_DEBUG*/
 > +
 > +static int ctucanfd_check_state(
 > +  struct ctucanfd_priv *priv,
 > +  const char *where
 > +) {
 > +  return 0;
 > +}

It is possible that it will result in warning when result is not assigned to 
some variable, is not it?

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/49#note_108447
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to