aVersion[0] = '\0';
aResult.Assign(gAppData->version);
static void GetVersion(nsIFile* aProfileDir, char* aVersion, int aVersionLength){  aVersion[0] = '\0';  nsCOMPtr<nsIFile> file;  aProfileDir->Clone(getter_AddRefs(file));  if (!file)    return;  file->AppendNative(FILE_COMPATIBILITY_INFO);  nsINIParser parser;  nsCOMPtr<nsILocalFile> localFile(do_QueryInterface(file));  nsresult rv = parser.Init(localFile);  if (NS_FAILED(rv))    return;  parser.GetString("Compatibility", "LastVersion", aVersion, aVersionLength);}