mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 18:57:18 +08:00 
			
		
		
		
	Inline superfluous function definition
This commit is contained in:
		| @ -375,10 +375,7 @@ func (dbp *Process) Continue() error { | |||||||
| 			return fmt.Errorf("could not continue thread %d %s", thread.Id, err) | 			return fmt.Errorf("could not continue thread %d %s", thread.Id, err) | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 	return dbp.run(dbp.resume) | 	return dbp.run(func() error { | ||||||
| } |  | ||||||
|  |  | ||||||
| func (dbp *Process) resume() error { |  | ||||||
| 		thread, err := dbp.trapWait(-1) | 		thread, err := dbp.trapWait(-1) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			return err | 			return err | ||||||
| @ -407,6 +404,7 @@ func (dbp *Process) resume() error { | |||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 		return nil | 		return nil | ||||||
|  | 	}) | ||||||
| } | } | ||||||
|  |  | ||||||
| // Single step, will execute a single instruction. | // Single step, will execute a single instruction. | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Derek Parker
					Derek Parker