Small fixes.

This commit is contained in:
XMRig 2018-04-06 23:32:54 +07:00
parent c227e3c7b4
commit 3a67ee6d11
3 changed files with 17 additions and 8 deletions

View file

@ -66,6 +66,8 @@ inline size_t cn_select_memory(Algo algorithm)
case CRYPTONIGHT_HEAVY:
return CRYPTONIGHT_HEAVY_MEMORY;
}
return 0;
}
@ -87,6 +89,8 @@ inline uint32_t cn_select_mask(Algo algorithm)
case CRYPTONIGHT_HEAVY:
return CRYPTONIGHT_HEAVY_MASK;
}
return 0;
}
@ -108,6 +112,8 @@ inline uint32_t cn_select_iter(Algo algorithm)
case CRYPTONIGHT_HEAVY:
return CRYPTONIGHT_HEAVY_ITER;
}
return 0;
}