summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-09-15 18:26:06 -0700
committerVinson Lee <vlee@vmware.com>2010-09-15 18:26:06 -0700
commit0d2561a5621cf93087410f9cbe3fc5a8163802db (patch)
tree9939a993d61ef4ab62cd20b269a132b3c2ac85b4
parentb09af4c3915df2b3a27e9d07ac3e65cee0c68f4e (diff)
nv50: Fix 'control reaches end of non-void function' warning.
-rw-r--r--src/gallium/drivers/nv50/nv50_pc.h1
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 080f99f378..fd2799eba1 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