Commit c431e1ff76bdce6c3f6c0d0cbdf6a01c68f81071

Authored by Loic Dachary
2 parents a6847973 9fbc4425
Exists in master

Merge branch 'gf32-mul-silence-warning' into 'master'

Gf32 mul silence warning

silence warning like

```
/slow/kchai/ceph/src/erasure-code/jerasure/gf-complete/src/gf_w32.c: In function ‘gf_w32_cfmgk_multiply_region_from_single’:
/slow/kchai/ceph/src/erasure-code/jerasure/gf-complete/src/gf_w32.c:410:5: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   g = _mm_insert_epi64 (a, g_star, 0);
     ^
```

See merge request !19
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/gf_w32.c
... ... @@ -407,9 +407,9 @@ gf_w32_cfmgk_multiply_region_from_single(gf_t *gf, void *src, void *dest, uint32
407 407 q_plus = *(uint64_t *) h->private;
408 408 g_star = *((uint64_t *) h->private + 1);
409 409  
  410 + a = _mm_insert_epi32 (_mm_setzero_si128(), val, 0);
410 411 g = _mm_insert_epi64 (a, g_star, 0);
411 412 q = _mm_insert_epi64 (a, q_plus, 0);
412   - a = _mm_insert_epi32 (_mm_setzero_si128(), val, 0);
413 413 s32 = (uint32_t *) src;
414 414 d32 = (uint32_t *) dest;
415 415  
... ...