You have edited the function, and it seems no-one else will for some time, so it'd be nice to fix it up so that the warnings aren't generated.