Skip to content
Snippets Groups Projects
Commit 9eddc595 authored by cmv's avatar cmv
Browse files

protect. contre pointeur null cmv 18/12/01

parent 15f7a663
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,7 @@ void FitsABTWriter::WriteKey(const char *keyname,long val,char* comment)
void FitsABTWriter::writekeys(void)
// Ecriture effective des clefs
{
if(FitsPtr==NULL) return;
int sta=0;
if(DoubleKey.size()>0)
for(unsigned int i=0;i<DoubleKey.size();i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment