Remarks on the BRST cohomology of supersymmetric gauge theories