Mercurial > vim
view ci/load-snd-dummy.sh @ 20326:74002d42dda0 v8.2.0718
patch 8.2.0718: gcc warning for returning pointer to local variable
Commit: https://github.com/vim/vim/commit/7d3664df9008bd5f39f8a2555843d1b269946e4d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 9 13:06:24 2020 +0200
patch 8.2.0718: gcc warning for returning pointer to local variable
Problem: Gcc warning for returning pointer to local variable. (John
Marriott)
Solution: Return another pointer.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 May 2020 13:15:03 +0200 |
parents | c94c103e7cb4 |
children | 3a7017ee1161 |
line wrap: on
line source
#!/bin/bash set -e if ! modprobe snd-dummy; then # snd-dummy is contained in linux-modules-extra (if exists) apt install -y "linux-modules-extra-$(uname -r)" modprobe snd-dummy fi