Merge branch 'jc/compat-util-setitimer-fix'

Fix a recent bug in a rarely used replacement code.

* jc/compat-util-setitimer-fix:
  compat-util: pretend that stub setitimer() always succeeds
maint
Junio C Hamano 2020-12-18 15:15:17 -08:00
commit ecfc02df85
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ struct itimerval {

#ifdef NO_SETITIMER
static inline int setitimer(int which, const struct itimerval *value, struct itimerval *newvalue) {
; /* nothing */
return 0; /* pretend success */
}
#endif