Step 1: Understanding the Concept:
The verb "warn" can be followed by "against + gerund" to mean cautioning someone not to do something. Step 2: Detailed Explanation:
"Against committing" is grammatically correct and idiomatic. "For committing" would change the meaning. "Against to commit" is incorrect because a gerund, not an infinitive, follows a preposition. "To commit" would require dropping "against" but changes the structure. Step 3: Final Answer:
Thus, no improvement is needed.