commit | 9c0a80b8f48ba3a183afff5820f4ffad29b31224 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Thu Sep 04 21:50:39 2014 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Sep 04 21:50:47 2014 +0000 |
tree | 431dc647ce33aa3baf5077b2480c6cafc5cd6381 | |
parent | 9e24c319c3c8395b6dbd57d4cc8e0c749bbbb82c [diff] | |
parent | 457296ad6c8bf3533a90780a8c28ced84a2301e7 [diff] |
Merge "Fix undefined behavior (not returning a value from a function with return)." into lmp-dev
diff --git a/include/ui/mat4.h b/include/ui/mat4.h index d9647cc..4fd1eff 100644 --- a/include/ui/mat4.h +++ b/include/ui/mat4.h
@@ -322,6 +322,7 @@ r[ 1] = xy*nc + zs; r[ 5] = y*y*nc + c; r[ 9] = yz*nc - xs; r[ 2] = zx*nc - ys; r[ 6] = yz*nc + xs; r[10] = z*z*nc + c; } + return rotation; } // ----------------------------------------------------------------------------------------