OSDN Git Service

Remove extraneous ; after DECL_TYPE usage
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Sun, 15 Feb 2015 22:46:29 +0000 (14:46 -0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 24 Feb 2015 12:23:34 +0000 (12:23 +0000)
commit4fa129cd9bd2ebff618fcda7c742af6c55e462ae
tree6a60157732d353855678c21ea07d6d44414ba5a7
parent4c2e35e0aadc6945a8f6317ec2988875fbb63f41
Remove extraneous ; after DECL_TYPE usage

The macro is defined to provide a trailing ; so this caused the expansion
to end in ";;" which made the Solaris Studio compilers issue warnings for
every line of:
  "builtin_type_macros.h", line 113: Warning: extra ";" ignored.
for every file that included the header, filling build logs with thousands
of useless warnings.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Cc: "10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 815b3bd096a3eab9f00f9270d45a6885d73180e9)
src/glsl/builtin_type_macros.h