No risk in small amounts.
Possible flea repellent, though I don't live in a flea-ridden area so I haven't tested the effectiveness of this, but many swear by it, and i would MUCH rather use garlic than a topical poison if I were faced with this situation.
I've used it to get my Corgi to eat liver. I really didn't want to force feed him (no one WANTS to have to) but was prepared to if need be. As a last resort, i used fresh garlic crushed up and shoved in the liver, reducing the amount gradually until he was willing to eat the liver without the garlic. Now he scarfs it and seems to have forgotten that he ever hated the stuff.