svga: Fix unused printf argument.
Fix defect reported by Coverity Scan.
Extra argument to printf format specifier (PRINTF_ARGS)
extra_argument: This argument was not used by the format string:
info->num_outputs.
Fixes: ccb4ea5a43
("svga: Add GL4.1(compatibility profile) support in svga driver")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6644>
This commit is contained in:
@@ -180,7 +180,7 @@ svga_create_stream_output(struct svga_context *svga,
|
||||
memset(strides, 0, sizeof(strides));
|
||||
memset(dstOffset, 0, sizeof(dstOffset));
|
||||
|
||||
SVGA_DBG(DEBUG_STREAMOUT, "%s: num_outputs\n",
|
||||
SVGA_DBG(DEBUG_STREAMOUT, "%s: num_outputs=%d\n",
|
||||
__FUNCTION__, info->num_outputs);
|
||||
|
||||
for (i = 0, numDecls = 0; i < info->num_outputs; i++, numDecls++) {
|
||||
|
Reference in New Issue
Block a user