Fix compilation warning and error

pull/73/merge
Ludovic Marcotte 2015-03-20 08:51:35 -04:00
parent afd73289d1
commit ecd336fa5c
2 changed files with 1 additions and 2 deletions

View File

@ -61,7 +61,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- (NSArray *) allRecipients
{
NSMutableArray *recipients;
NSEnumerator *enumerator;
recipients = [NSMutableArray array];

View File

@ -344,7 +344,7 @@ struct GlobalObjectId {
// We fallback to ISO-8859-1 string encoding. We avoid #3103.
if (!s)
s = [[[NSString alloc] initWithData: d encoding: NSISOLatin1StringEncoding] autorelease];
s = [[[NSString alloc] initWithData: body encoding: NSISOLatin1StringEncoding] autorelease];
}
else
{