gradient.c Removed implicit-fallthrough warnings
commitbf644338e4e0a3a401d3707b4bce722f09e5c821
authorRodolfo García Peñas (kix) <kix@kix.es>
Wed, 19 Jun 2019 19:11:03 +0000 (19 21:11 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 20 Jun 2019 21:04:31 +0000 (20 22:04 +0100)
tree21d593a5c75e92083f2789e1c7705ed82c530116
parent95561fba088c76682a7626a7282852c5aa351523
gradient.c Removed implicit-fallthrough warnings

This patch adds the comments to remove the warnings.

gradient.c: In function ‘renderGradientWidth’:
gradient.c:162:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   *ptr++ = b;
   ~~~~~~~^~~
gradient.c:163:2: note: here
  case 2:
  ^~~~
gradient.c:166:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   *ptr++ = b;
   ~~~~~~~^~~
gradient.c:167:2: note: here
  case 1:
  ^~~~

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
wrlib/gradient.c