Commit 7a8a3ee
committed
libvisual/lv_mem.c: Address warnings -Wreturn-type and -Wunused-function
Symptom was:
> ../../libvisual-0.4.2/libvisual/lv_mem.c: In function 'mem_copy_altivec':
> ../../libvisual-0.4.2/libvisual/lv_mem.c:379:1: error: no return statement in function returning non-void [-Werror=return-type]
> 379 | }
> | ^
> ../../libvisual-0.4.2/libvisual/lv_mem.c: In function 'mem_set8_altivec':
> ../../libvisual-0.4.2/libvisual/lv_mem.c:529:1: error: no return statement in function returning non-void [-Werror=return-type]
> 529 | }
> | ^
> ../../libvisual-0.4.2/libvisual/lv_mem.c: In function 'mem_set16_altivec':
> ../../libvisual-0.4.2/libvisual/lv_mem.c:673:1: error: no return statement in function returning non-void [-Werror=return-type]
> 673 | }
> | ^
> ../../libvisual-0.4.2/libvisual/lv_mem.c: In function 'mem_set32_altivec':
> ../../libvisual-0.4.2/libvisual/lv_mem.c:784:1: error: no return statement in function returning non-void [-Werror=return-type]
> 784 | }
> | ^
> ../../libvisual-0.4.2/libvisual/lv_mem.c: At top level:
> ../../libvisual-0.4.2/libvisual/lv_mem.c:781:14: error: 'mem_set32_altivec' defined but not used [-Werror=unused-function]
> 781 | static void *mem_set32_altivec (void *dest, int c, visual_size_t n)
> | ^~~~~~~~~~~~~~~~~
> ../../libvisual-0.4.2/libvisual/lv_mem.c:670:14: error: 'mem_set16_altivec' defined but not used [-Werror=unused-function]
> 670 | static void *mem_set16_altivec (void *dest, int c, visual_size_t n)
> | ^~~~~~~~~~~~~~~~~
> ../../libvisual-0.4.2/libvisual/lv_mem.c:526:14: error: 'mem_set8_altivec' defined but not used [-Werror=unused-function]
> 526 | static void *mem_set8_altivec (void *dest, int c, visual_size_t n)
> | ^~~~~~~~~~~~~~~~
> ../../libvisual-0.4.2/libvisual/lv_mem.c:376:14: error: 'mem_copy_altivec' defined but not used [-Werror=unused-function]
> 376 | static void *mem_copy_altivec (void *dest, const void *src, visual_size_t n)
> | ^~~~~~~~~~~~~~~~1 parent 3454192 commit 7a8a3ee
1 file changed
Lines changed: 0 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | | - | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
54 | | - | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
59 | | - | |
60 | 56 | | |
61 | 57 | | |
62 | 58 | | |
| |||
373 | 369 | | |
374 | 370 | | |
375 | 371 | | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | 372 | | |
382 | 373 | | |
383 | 374 | | |
| |||
523 | 514 | | |
524 | 515 | | |
525 | 516 | | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | 517 | | |
532 | 518 | | |
533 | 519 | | |
| |||
667 | 653 | | |
668 | 654 | | |
669 | 655 | | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | 656 | | |
676 | 657 | | |
677 | 658 | | |
| |||
778 | 759 | | |
779 | 760 | | |
780 | 761 | | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | 762 | | |
787 | 763 | | |
788 | 764 | | |
| |||
0 commit comments