comparison atomicio.c @ 1268:968be6f7cff6

add comment FALLTHROUGH which recognize by many lint tools
author Francois Perrad <francois.perrad@gadz.org>
date Thu, 31 Dec 2015 18:36:34 +0100
parents 1bb50993acf1
children 83d85b28b353
comparison
equal deleted inserted replaced
1267:1f9858bfe03e 1268:968be6f7cff6
51 if (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK) 51 if (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK)
52 #else 52 #else
53 if (errno == EINTR || errno == EAGAIN) 53 if (errno == EINTR || errno == EAGAIN)
54 #endif 54 #endif
55 continue; 55 continue;
56 /* FALLTHROUGH */
56 case 0: 57 case 0:
57 return (res); 58 return (res);
58 default: 59 default:
59 pos += res; 60 pos += res;
60 } 61 }