A quick google suggest that warfarin doesn't directly affect BG levels itself but warfarin does affect lots of medication and may affect tablets you are taking for diabetes (although don't think it should affect insulin). However, what I read was that it might increase the potency of diabetic medication, so I would reckon that the infection causing higher BG is probably more likely. Check with your GP though if it doesn't settle down. Your body can be developing an infection without you feeling any symptoms and I've heard a few people say that they have 'predicted' an illness through unexplained rise in BG levels.
You do have to watch your diet with warfarin though, avoiding things like cranberries, alcohol and too much vitamin K, found largely in leafy green veg. You can eat greens but need to have a consistent amount regularly.