Mesa (master): nv50: Fix 'control reaches end of non-void function' warning .
Vinson Lee
vlee at kemper.freedesktop.org
Thu Sep 16 01:26:37 UTC 2010
Module: Mesa
Branch: master
Commit: 0d2561a5621cf93087410f9cbe3fc5a8163802db
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d2561a5621cf93087410f9cbe3fc5a8163802db
Author: Vinson Lee <vlee at vmware.com>
Date: Wed Sep 15 18:26:06 2010 -0700
nv50: Fix 'control reaches end of non-void function' warning.
---
src/gallium/drivers/nv50/nv50_pc.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_pc.h b/src/gallium/drivers/nv50/nv50_pc.h
index 080f99f..fd2799e 100644
--- a/src/gallium/drivers/nv50/nv50_pc.h
+++ b/src/gallium/drivers/nv50/nv50_pc.h
@@ -171,6 +171,7 @@ nv_type_order(ubyte type)
return 3;
}
assert(0);
+ return 0;
}
static INLINE uint
More information about the mesa-commit
mailing list