Commit 1d0ba990 authored by Shawn Rutledge's avatar Shawn Rutledge Committed by The Qt Project
Browse files

QML: fix clang warnings about unused return values


For example calling toRect() and throwing it away caused this warning
error: ignoring return value of function declared with
warn_unused_result attribute [-Werror,-Wunused-result]

Change-Id: I849088d052d21402a5f50cfe9d1305c3e1d91244
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
parent 87031acc
Showing with 3 additions and 3 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment