AArch64: Remove duplicitous element_count call.
authorZachary Waldowski <zach@waldowski.me>
Thu, 9 Jan 2014 18:50:17 +0000 (13:50 -0500)
committerZachary Waldowski <zach@waldowski.me>
Wed, 5 Feb 2014 19:28:59 +0000 (14:28 -0500)
This inhibits an analyzer warning by Clang.

src/aarch64/ffi.c

index 9db6dca..9dbf277 100644 (file)
@@ -556,7 +556,6 @@ copy_hfa_to_reg_or_stack (void *memory,
     {
       int i;
       unsigned short type = get_homogeneous_type (ty);
-      unsigned elems = element_count (ty);
       for (i = 0; i < elems; i++)
        {
          void *reg = allocate_to_v (context, state);