fix assignment in swapmode plug.

Spotted and fix provided by ys

(closes issue #14129)
Reported by: ys
Tested by: ys


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@169369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Michiel van Baak 17 years ago
parent 1d781feca6
commit fae3ba7421

@ -549,7 +549,7 @@ static int swapmode(int *used, int *total)
#elif defined(HAVE_SYSCTL) && !defined(HAVE_SYSINFO) #elif defined(HAVE_SYSCTL) && !defined(HAVE_SYSINFO)
static int swapmode(int *used, int *total) static int swapmode(int *used, int *total)
{ {
used = total = 0; *used = *total = 0;
return 1; return 1;
} }
#endif #endif

Loading…
Cancel
Save