Fixed and committed to SVN.

Best,
Scuri


2018-01-24 22:47 GMT-02:00 Ranier VF <ranier_...@hotmail.com>:

> Hi,
> Issue found by Coverity Scan.
> CID 259179 (#1 of 1): Missing break in switch (MISSING_BREAK)
> unterminated_case: The case for value 276U is not terminated by a 'break'
> statement.
>
> --- a\src\win\iupwin_canvas.c   Tue Jan 16 20:23:32 2018
> +++ b\src\win\iupwin_canvas.c   Wed Jan 24 22:40:51 2018
> @@ -579,6 +579,7 @@
>        *result = 0;
>        return 1;
>      }
> +    break;
>    case WM_HSCROLL:
>      /* only process the scrollbar if not a MDI client AND a standard
> scrollbar */
>      if (!iupAttribGetBoolean(ih, "MDICLIENT") && lp == 0)
> @@ -587,6 +588,7 @@
>        *result = 0;
>        return 1;
>      }
> +    break;
>    case WM_SETFOCUS:
>      if (!iupAttribGetBoolean(ih, "CANFOCUS"))
>      {
>
> Best,
> Ranier Vilela
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to