Le jeudi 31 janvier 2013 02:13:30, Domingo Alvarez Duarte a écrit :
> Also on this function:
> 
> CID 968150 (#1 of 1): Unchecked return value (CHECKED_RETURN)6.
> check_return: Calling function "parse_btype(CType *, AttributeDef *)"
> without checking return value (as is done elsewhere 7 out of 8 times).
> 
> 
> /* enum/struct/union declaration. u is either VT_ENUM or VT_STRUCT */
> static void struct_decl(CType *type, int u)
> {
> ...
>             bit_pos = 0;
>             offset = 0;
>             while (tok != '}') {
>                 parse_btype(&btype, &ad); //// no check made here
> ?????????????????
>                 while (1) {
>                     bit_size = -1;
>                     v = 0;
>                     type1 = btype;

Fixed.

Thanks.

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to