Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/ttm Fix non debug build.



details:   https://anonhg.NetBSD.org/src/rev/39f3f77428bf
branches:  trunk
changeset: 797748:39f3f77428bf
user:      rjs <rjs%NetBSD.org@localhost>
date:      Sat Jul 26 12:27:57 2014 +0000

description:
Fix non debug build.

diffstat:

 sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r cb69ca6b02e1 -r 39f3f77428bf sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c       Sat Jul 26 11:23:46 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c       Sat Jul 26 12:27:57 2014 +0000
@@ -316,7 +316,7 @@
 
 void ttm_tt_unbind(struct ttm_tt *ttm)
 {
-       int ret;
+       int ret __diagused;
 
        if (ttm->state == tt_bound) {
                ret = ttm->func->unbind(ttm);



Home | Main Index | Thread Index | Old Index