[OpenSmalltalk/opensmalltalk-vm] 300cbe: vm-sound-pulse: Change return value from int to vo...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] 300cbe: vm-sound-pulse: Change return value from int to vo...

Eliot Miranda-3
 
  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 300cbeb99097ded496ad6501f578b560e81d6833
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/300cbeb99097ded496ad6501f578b560e81d6833
  Author: Holger Hans Peter Freyther <[hidden email]>
  Date:   2017-07-18 (Tue, 18 Jul 2017)

  Changed paths:
    M platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c

  Log Message:
  -----------
  vm-sound-pulse: Change return value from int to void

These routines didn't return anything and callers didn't seem to check
the return value. Change to void to fix these warnings:

E: no-return-in-nonvoid-function platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c:455, 519, 528, 600, 713, 821, 814


  Commit: a4d920cfbce4dc960dccb89bf88b60175a303e4f
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/a4d920cfbce4dc960dccb89bf88b60175a303e4f
  Author: Eliot Miranda <[hidden email]>
  Date:   2017-07-18 (Tue, 18 Jul 2017)

  Changed paths:
    M platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c

  Log Message:
  -----------
  Merge pull request #145 from zecke/fix-no-return

vm-sound-pulse: Change return value from int to void


Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/e0b6d370c7c4...a4d920cfbce4