Silence false uninitialised var use warning and calculate dev_runtime only once
Merge commit 'bae415b' into bfgminer