diff options
author | Emil Velikov <[email protected]> | 2014-03-12 16:58:26 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-03-14 13:00:01 +0000 |
commit | ad4a44ebfc9f72d34bf3523e455822896a788507 (patch) | |
tree | bf5be5392f93a6f75a291043967f97371f4e4d63 /src/gallium/drivers/r600 | |
parent | ae7d2361721926dc16a4c71034536f6b8676e1be (diff) |
nouveau: honor fread return value in the nouveau_compiler
There is little point of continuing if fread returns zero, as it
indicates that either the file is empty or cannot be read from.
Bail out if fread returns zero after closing the file.
Cc: Ilia Mirkin <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
0 files changed, 0 insertions, 0 deletions